[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port MachineSink to NPM (PR #115434)

Akshat Oke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 1 03:20:08 PST 2025


================
@@ -127,6 +130,8 @@ class MachineSinking : public MachineFunctionPass {
   const MachineBranchProbabilityInfo *MBPI = nullptr;
   AliasAnalysis *AA = nullptr;
   RegisterClassInfo RegClassInfo;
+  Pass *LegacyPass;
+  MachineFunctionAnalysisManager *MFAM;
----------------
optimisan wrote:

SplitCriticalEdge requires either Pass or MFAM, so I put them here. I'll remove that dependency first then.

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


More information about the llvm-branch-commits mailing list