Skip to content

[Bug] Inlining shouldn't create shadowed variables #28867

@mikebenfield

Description

@mikebenfield

Right now if the same inline is inlined twice into the same block, its local variables will be repeated, thus making shadowed variables, which isn't really supposed to happen.

This became a problem in implementing the CSE pass. For now I just run the SSA pass again and rename definitions as a simple workaround. But ideally the inlining pass would be modified to avoid creating shadowed variables in the first place.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions