diff options
author | paperchalice <liujunchang97@outlook.com> | 2024-07-09 12:09:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 12:09:11 +0800 |
commit | 4010f894a1e880f88bda78a49a8bece5affaa848 (patch) | |
tree | 83f51560dea01462d67f68c9c4ff30045e69b891 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | |
parent | 87d58ab22af0627b2c90138713c19b5263b6c132 (diff) | |
download | llvm-4010f894a1e880f88bda78a49a8bece5affaa848.zip llvm-4010f894a1e880f88bda78a49a8bece5affaa848.tar.gz llvm-4010f894a1e880f88bda78a49a8bece5affaa848.tar.bz2 |
[CodeGen][NewPM] Port `SlotIndexes` to new pass manager (#97941)
- Add `SlotIndexesAnalysis`.
- Add `SlotIndexesPrinterPass`.
- Use `SlotIndexesWrapperPass` in legacy pass.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp index 87e63a1..a53b4d4 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp @@ -52,7 +52,7 @@ class WebAssemblyRegStackify final : public MachineFunctionPass { AU.addRequired<MachineDominatorTreeWrapperPass>(); AU.addRequired<LiveIntervals>(); AU.addPreserved<MachineBlockFrequencyInfo>(); - AU.addPreserved<SlotIndexes>(); + AU.addPreserved<SlotIndexesWrapperPass>(); AU.addPreserved<LiveIntervals>(); AU.addPreservedID(LiveVariablesID); AU.addPreserved<MachineDominatorTreeWrapperPass>(); |