[llvm] CodeGen/NewPM: Initialize MMI in NewPM path (PR #99754)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 04:40:28 PDT 2024


================
@@ -509,6 +509,8 @@ void SelectionDAGISel::initializeAnalysisResults(
     FnVarLocs = &FAM.getResult<DebugAssignmentTrackingAnalysis>(Fn);
 
   auto *UA = FAM.getCachedResult<UniformityInfoAnalysis>(Fn);
+  MMI = &MFAM.getResult<MachineModuleAnalysis>(*MF).getMMI();
----------------
arsenm wrote:

I think the registration is just not happening and I'm not sure why. I can't run the analysis standalone with -passes either 

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


More information about the llvm-commits mailing list