Skip to content

Access patterns with specific cases of || and && #303

@mattfel1

Description

@mattfel1

For example, someone may do

Foreach(8 by 1){ i => 
  .. = mem(16 | i)
  .. = mem(16 | (i + 1))

Right now, the compiler would either crash or set II = 2 to be able to do this. But if it knows the space of i, it should recognize that this | is effectively an add.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions