Skip to content

Aliasing #30

@Duttenheim

Description

@Duttenheim

https://x.com/notimothylottes/status/1950950397155201173?s=46&t=q8NjNhI3q2Ao2JCNf_hw_Q

Consider adding a union type which allows for aliasing of memory.

  • Investigate how other IRs (Metal/DXIL) handles it
  • Add a feature switch so languages like WGSL can throw errors.
  • Add a union type which aliases the same memory as different types in the IR. For SPIRV that's using Aliased on an OpVariable of the largest size and creating new OpVariables initialized on the original one.

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