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/InlineSpiller.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/InlineSpiller.cpp')
-rw-r--r-- | llvm/lib/CodeGen/InlineSpiller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InlineSpiller.cpp b/llvm/lib/CodeGen/InlineSpiller.cpp index e8f7c68..64f290f 100644 --- a/llvm/lib/CodeGen/InlineSpiller.cpp +++ b/llvm/lib/CodeGen/InlineSpiller.cpp @@ -131,7 +131,7 @@ public: HoistSpillHelper(MachineFunctionPass &pass, MachineFunction &mf, VirtRegMap &vrm) : MF(mf), LIS(pass.getAnalysis<LiveIntervalsWrapperPass>().getLIS()), - LSS(pass.getAnalysis<LiveStacks>()), + LSS(pass.getAnalysis<LiveStacksWrapperLegacy>().getLS()), MDT(pass.getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree()), VRM(vrm), MRI(mf.getRegInfo()), TII(*mf.getSubtarget().getInstrInfo()), TRI(*mf.getSubtarget().getRegisterInfo()), @@ -193,7 +193,7 @@ public: InlineSpiller(MachineFunctionPass &Pass, MachineFunction &MF, VirtRegMap &VRM, VirtRegAuxInfo &VRAI) : MF(MF), LIS(Pass.getAnalysis<LiveIntervalsWrapperPass>().getLIS()), - LSS(Pass.getAnalysis<LiveStacks>()), + LSS(Pass.getAnalysis<LiveStacksWrapperLegacy>().getLS()), MDT(Pass.getAnalysis<MachineDominatorTreeWrapperPass>().getDomTree()), VRM(VRM), MRI(MF.getRegInfo()), TII(*MF.getSubtarget().getInstrInfo()), TRI(*MF.getSubtarget().getRegisterInfo()), |