================ @@ -127,6 +130,8 @@ class MachineSinking : public MachineFunctionPass { const MachineBranchProbabilityInfo *MBPI = nullptr; AliasAnalysis *AA = nullptr; RegisterClassInfo RegClassInfo; + Pass *LegacyPass; + MachineFunctionAnalysisManager *MFAM; ---------------- arsenm wrote:
That is what you should do, and what other passes do https://github.com/llvm/llvm-project/pull/115434 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits