aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorpaperchalice <liujunchang97@outlook.com>2024-07-09 10:50:43 +0800
committerGitHub <noreply@github.com>2024-07-09 10:50:43 +0800
commitac0b2814c34959ebaa8f054db019bd287fdff54d (patch)
tree9e1b742258464c471c2b869c7ab694ba280e6db1 /llvm/lib/CodeGen/CodeGen.cpp
parent366eb8f025f03f00ed1188dccfd3d527b8c82892 (diff)
downloadllvm-ac0b2814c34959ebaa8f054db019bd287fdff54d.zip
llvm-ac0b2814c34959ebaa8f054db019bd287fdff54d.tar.gz
llvm-ac0b2814c34959ebaa8f054db019bd287fdff54d.tar.bz2
[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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 35e2751..2680f24 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);