[llvm] [NewPM][CodeGen] Let `ModuleToMachineFunctionPassAdaptor` own `MachineModuleInfo` (PR #87226)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 15:32:05 PDT 2024


aeubanks wrote:

I meant in the discourse post that we should get rid of `MachineModuleInfo`, and have a separate `Function` analysis that returns a `MachineFunction` (maybe need some level of indirection like a `std::unique_ptr`). So basically the `FunctionAnalysisManager`'s analysis cache would own the `MachineFunction`.

https://github.com/llvm/llvm-project/pull/87226


More information about the llvm-commits mailing list