[llvm] [NewPM][CodeGen] Port MachineLICM to NPM (PR #107376)
Akshat Oke via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 03:57:45 PDT 2024
================
@@ -126,6 +127,8 @@ namespace {
TargetSchedModel SchedModel;
bool PreRegAlloc = false;
bool HasProfileData = false;
+ Pass *LegacyPass;
----------------
Akshat-Oke wrote:
`MachineBasicBlock::SplitCriticalEdge` gets the analyses through one that is non-null.
Alternatively we can modify `SplitCriticalEdge` to be passed in the analyses rather than getting it itself.
https://github.com/llvm/llvm-project/pull/107376
More information about the llvm-commits
mailing list