Skip to content

NormalizeNames at most once #13250

Description

@ehigham

The compiler is invoking NormalizeNames more than once. Really, we should be normalizing IR names at most once, then generating unique names for all new names introduced through lowering and compilation.

Things to do:

  • Normalize names at the start of the lowering + compilation pipeline
  • Add a rule to the lowering pipeline to enforce IR names are unique to catch any lowering implementations that break the invariant
  • Fix those that misbehave

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions