aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorpaperchalice <liujunchang97@outlook.com>2024-07-15 15:11:06 +0800
committerGitHub <noreply@github.com>2024-07-15 15:11:06 +0800
commit01191874f9011d3ce8b7c2830ece1f030c60da7f (patch)
treee8fc047894bbb7d750a609c7087268396e6fd2c0 /llvm/lib/CodeGen/CodeGen.cpp
parentcaa0e42ceb6e671d68b8b8e1d04f136696a4228b (diff)
downloadllvm-01191874f9011d3ce8b7c2830ece1f030c60da7f.zip
llvm-01191874f9011d3ce8b7c2830ece1f030c60da7f.tar.gz
llvm-01191874f9011d3ce8b7c2830ece1f030c60da7f.tar.bz2
[CodeGen] Port `two-address-instructions` to new pass manager (#98632)
Add `TwoAddressInstructionPass`.
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 f67244d..31fa4c1 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -132,7 +132,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeStripDebugMachineModulePass(Registry);
initializeTailDuplicatePass(Registry);
initializeTargetPassConfigPass(Registry);
- initializeTwoAddressInstructionPassPass(Registry);
+ initializeTwoAddressInstructionLegacyPassPass(Registry);
initializeTypePromotionLegacyPass(Registry);
initializeUnpackMachineBundlesPass(Registry);
initializeUnreachableBlockElimLegacyPassPass(Registry);