diff options
| author | paperchalice <liujunchang97@outlook.com> | 2024-07-09 10:50:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-09 10:50:43 +0800 |
| commit | ac0b2814c34959ebaa8f054db019bd287fdff54d (patch) | |
| tree | 9e1b742258464c471c2b869c7ab694ba280e6db1 /llvm/lib/CodeGen/CodeGen.cpp | |
| parent | 366eb8f025f03f00ed1188dccfd3d527b8c82892 (diff) | |
[CodeGen][NewPM] Port `LiveVariables` to new pass manager (#97880)
- Port `LiveVariables` to new pass manager.
- Convert to `LiveVariablesWrapperPass` in legacy pass manager.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index 35e27519378f..2680f2458cc1 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -63,7 +63,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeLiveIntervalsPass(Registry); initializeLiveRangeShrinkPass(Registry); initializeLiveStacksPass(Registry); - initializeLiveVariablesPass(Registry); + initializeLiveVariablesWrapperPassPass(Registry); initializeLocalStackSlotPassPass(Registry); initializeLowerGlobalDtorsLegacyPassPass(Registry); initializeLowerIntrinsicsPass(Registry); |
