Open
Description
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