Issue 90542
Summary [NewPM][CodeGen] Remove reference to `MachineModuleInfo` when processing `MachineFunction`
Labels new issue
Assignees paperchalice
Reporter paperchalice
    In order to support "machine module pass" in legacy pass manager, `MachineFunction` and `MachineModuleInfo` are tightly coupled (https://github.com/llvm/llvm-project/commit/733fe3676c629b25edcae79d3ba3ccb24e6c6cb3), 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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to