aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2023-02-16 17:45:50 -0800
committerNick Desaulniers <ndesaulniers@google.com>2023-02-16 17:58:33 -0800
commitfb471158aa0da2690beb3be3af2618af2f5bf4df (patch)
tree639206a55fe9d29923e42649527bffb883bcd4a7 /llvm/lib/CodeGen/CodeGen.cpp
parent45a291b5f609fc7edd8c526772e491d68b210dbe (diff)
downloadllvm-fb471158aa0da2690beb3be3af2618af2f5bf4df.zip
llvm-fb471158aa0da2690beb3be3af2618af2f5bf4df.tar.gz
llvm-fb471158aa0da2690beb3be3af2618af2f5bf4df.tar.bz2
[llvm] boilerplate for new callbrprepare codegen IR pass
Because this pass is to be a codegen pass, it must use the legacy pass manager. Link: https://discourse.llvm.org/t/rfc-syncing-asm-goto-with-outputs-with-gcc/65453/8 Reviewed By: aeubanks, void Differential Revision: https://reviews.llvm.org/D139861
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 0803c2c..6a3feb7 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -24,6 +24,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeBasicBlockSectionsPass(Registry);
initializeBranchFolderPassPass(Registry);
initializeBranchRelaxationPass(Registry);
+ initializeCallBrPreparePass(Registry);
initializeCFGuardLongjmpPass(Registry);
initializeCFIFixupPass(Registry);
initializeCFIInstrInserterPass(Registry);