aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorAkshat Oke <Akshat.Oke@amd.com>2025-02-24 14:31:37 +0530
committerGitHub <noreply@github.com>2025-02-24 14:31:37 +0530
commit229dcf9d3456e95dff2aa0a8eef0a707bd2106c1 (patch)
tree51b177cb551802117306a81a7cc9e2ee5ed59c8c /llvm/lib/CodeGen/CodeGen.cpp
parent47656dc765aabed8079c650261a79a7e85c4370c (diff)
downloadllvm-229dcf9d3456e95dff2aa0a8eef0a707bd2106c1.zip
llvm-229dcf9d3456e95dff2aa0a8eef0a707bd2106c1.tar.gz
llvm-229dcf9d3456e95dff2aa0a8eef0a707bd2106c1.tar.bz2
[CodeGen][NPM] Port MachineLateInstrsCleanup to NPM (#128160)
There are no standalone tests for this pass for backends implementing the NPM yet.
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 35df2a47..046a3ee 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -83,7 +83,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeMachineDominatorTreeWrapperPassPass(Registry);
initializeMachineFunctionPrinterPassPass(Registry);
initializeMachineFunctionSplitterPass(Registry);
- initializeMachineLateInstrsCleanupPass(Registry);
+ initializeMachineLateInstrsCleanupLegacyPass(Registry);
initializeMachineLICMPass(Registry);
initializeMachineLoopInfoWrapperPassPass(Registry);
initializeMachineModuleInfoWrapperPassPass(Registry);