[flang-commits] [clang] [flang] [llvm] [mlir] Make Ownership of MachineModuleInfo in Its Wrapper Pass External (PR #110443)

Arthur Eubanks via flang-commits flang-commits at lists.llvm.org
Thu Oct 3 12:56:36 PDT 2024


================
@@ -1162,6 +1165,7 @@ void EmitAssemblyHelper::RunCodegenPipeline(
   // does not work with the codegen pipeline.
   // FIXME: make the new PM work with the codegen pipeline.
   legacy::PassManager CodeGenPasses;
+  std::unique_ptr<MachineModuleInfo> MMI;
----------------
aeubanks wrote:

can this just be `MachineModuleInfo MMI;` below?

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


More information about the flang-commits mailing list