Skip to content

[NewPM][CodeGen] Remove reference to MachineModuleInfo when processing MachineFunction #90542

Open
@paperchalice

Description

@paperchalice

In order to support "machine module pass" in legacy pass manager, MachineFunction and MachineModuleInfo are tightly coupled (733fe36), but now we have new pass manager, we can use MachineFunction as analysis result again, thus the MachineModuleInfo during parsing MachineFunction is redundant, we should decouple them as much as possible.

Currently, these facilities (If there is anything missing, please add it directly) use MachineModuleInfo :

  • MIRParser
  • MachineModuleSlotTracker
  • MachineOutliner

CC @aeubanks @arsenm.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions