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

Matin Raayai via flang-commits flang-commits at lists.llvm.org
Fri Oct 4 06:38:46 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;
----------------
matinraayai wrote:

I'll change it to a normal construction with the `TM`.

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


More information about the flang-commits mailing list