[llvm] [AArch64] Add streaming-mode stack hazard optimization remarks (PR #101695)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 00:42:10 PDT 2024


================
@@ -4626,6 +4643,10 @@ void AArch64FrameLowering::processFunctionBeforeFrameIndicesReplaced(
       if (StackTaggingMergeSetTag)
         II = tryMergeAdjacentSTG(II, this, RS);
     }
+
+  // Run remarks pass.
+  MachineOptimizationRemarkEmitter ORE(MF, nullptr);
----------------
davemgreen wrote:

PEI has a ORE that comes from the pass pipeline. Could PEI pass ORE to processFunctionBeforeFrameIndicesReplaced?

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


More information about the llvm-commits mailing list