aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorNick Anderson <nickleus27@gmail.com>2024-01-04 22:47:56 -0800
committerGitHub <noreply@github.com>2024-01-05 13:47:56 +0700
commite0c554ad87d18dcbfcb9b6485d0da800ae1338d1 (patch)
treed7fe8ec30c017801f4cd9cb4ac60a8ac36dfcab3 /llvm/lib/CodeGen/CodeGen.cpp
parent668165002543fd3a88413a5c2601774395bfd10e (diff)
downloadllvm-e0c554ad87d18dcbfcb9b6485d0da800ae1338d1.zip
llvm-e0c554ad87d18dcbfcb9b6485d0da800ae1338d1.tar.gz
llvm-e0c554ad87d18dcbfcb9b6485d0da800ae1338d1.tar.bz2
Port CodeGenPrepare to new pass manager (and BasicBlockSectionsProfil… (#75380)
Port CodeGenPrepare to new pass manager and dependency BasicBlockSectionsProfileReader Fixes: #64560 Co-authored-by: Krishna-13-cyber <84722531+Krishna-13-cyber@users.noreply.github.com>
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 7b73a7b..4180664 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -30,7 +30,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeCFIFixupPass(Registry);
initializeCFIInstrInserterPass(Registry);
initializeCheckDebugMachineModulePass(Registry);
- initializeCodeGenPreparePass(Registry);
+ initializeCodeGenPrepareLegacyPassPass(Registry);
initializeDeadMachineInstructionElimPass(Registry);
initializeDebugifyMachineModulePass(Registry);
initializeDetectDeadLanesPass(Registry);