aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorAkshat Oke <Akshat.Oke@amd.com>2025-04-18 15:06:30 +0530
committerGitHub <noreply@github.com>2025-04-18 15:06:30 +0530
commit31ddaef8d18d643ff4c343d03ddfe2edae7d22a2 (patch)
tree217d17acd9c78f4a6d37b2102c066da67d51da24 /llvm/lib/CodeGen/CodeGen.cpp
parent1db03cab70fd29fe13cb60cc102285d0d0f33957 (diff)
downloadllvm-31ddaef8d18d643ff4c343d03ddfe2edae7d22a2.zip
llvm-31ddaef8d18d643ff4c343d03ddfe2edae7d22a2.tar.gz
llvm-31ddaef8d18d643ff4c343d03ddfe2edae7d22a2.tar.bz2
[CodeGen][NPM] Port UnreachableMachineBlockElim to NPM (#136127)
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 2b0e938..a34adcf 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -140,7 +140,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeTypePromotionLegacyPass(Registry);
initializeUnpackMachineBundlesPass(Registry);
initializeUnreachableBlockElimLegacyPassPass(Registry);
- initializeUnreachableMachineBlockElimPass(Registry);
+ initializeUnreachableMachineBlockElimLegacyPass(Registry);
initializeVirtRegMapWrapperLegacyPass(Registry);
initializeVirtRegRewriterPass(Registry);
initializeWasmEHPreparePass(Registry);