diff options
author | Akshat Oke <Akshat.Oke@amd.com> | 2024-12-06 15:16:07 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 15:16:07 +0530 |
commit | 2c7ece2e8cf58d607f870ca9f02302df8aaa75d4 (patch) | |
tree | 165aee948ccca8a94b6b9bac209e7e4b19e774ed /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | 91d6e10cca4ea8d50927aba024f33c9076785d3a (diff) | |
download | llvm-2c7ece2e8cf58d607f870ca9f02302df8aaa75d4.zip llvm-2c7ece2e8cf58d607f870ca9f02302df8aaa75d4.tar.gz llvm-2c7ece2e8cf58d607f870ca9f02302df8aaa75d4.tar.bz2 |
[CodeGen][NewPM] Port LiveStacks analysis to NPM (#118778)
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBasic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index 7ee24c9..c05aa1e 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/lib/CodeGen/RegAllocBasic.cpp @@ -135,7 +135,7 @@ INITIALIZE_PASS_DEPENDENCY(SlotIndexesWrapperPass) INITIALIZE_PASS_DEPENDENCY(LiveIntervalsWrapperPass) INITIALIZE_PASS_DEPENDENCY(RegisterCoalescer) INITIALIZE_PASS_DEPENDENCY(MachineScheduler) -INITIALIZE_PASS_DEPENDENCY(LiveStacks) +INITIALIZE_PASS_DEPENDENCY(LiveStacksWrapperLegacy) INITIALIZE_PASS_DEPENDENCY(AAResultsWrapperPass) INITIALIZE_PASS_DEPENDENCY(MachineDominatorTreeWrapperPass) INITIALIZE_PASS_DEPENDENCY(MachineLoopInfoWrapperPass) @@ -182,8 +182,8 @@ void RABasic::getAnalysisUsage(AnalysisUsage &AU) const { AU.addPreserved<SlotIndexesWrapperPass>(); AU.addRequired<LiveDebugVariablesWrapperLegacy>(); AU.addPreserved<LiveDebugVariablesWrapperLegacy>(); - AU.addRequired<LiveStacks>(); - AU.addPreserved<LiveStacks>(); + AU.addRequired<LiveStacksWrapperLegacy>(); + AU.addPreserved<LiveStacksWrapperLegacy>(); AU.addRequired<ProfileSummaryInfoWrapperPass>(); AU.addRequired<MachineBlockFrequencyInfoWrapperPass>(); AU.addPreserved<MachineBlockFrequencyInfoWrapperPass>(); |