summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-08 21:22:48 +0000
committerAndrew Trick <atrick@apple.com>2012-02-08 21:22:48 +0000
commit61f1e3db43e556f495b6b9360d2f550291f78471 (patch)
tree884759d64daccd2f8ae8552c9074e547afd94321 /lib/CodeGen/CodeGen.cpp
parent1df91b0e54bc62f8fc7a06a4f75220e40aa2dfe0 (diff)
downloadllvm-61f1e3db43e556f495b6b9360d2f550291f78471.tar.gz
llvm-61f1e3db43e556f495b6b9360d2f550291f78471.tar.bz2
llvm-61f1e3db43e556f495b6b9360d2f550291f78471.tar.xz
Move pass configuration out of pass constructors: BranchFolderPass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGen.cpp')
-rw-r--r--lib/CodeGen/CodeGen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGen.cpp b/lib/CodeGen/CodeGen.cpp
index 7651e221fd..c838e6fb31 100644
--- a/lib/CodeGen/CodeGen.cpp
+++ b/lib/CodeGen/CodeGen.cpp
@@ -19,6 +19,7 @@ using namespace llvm;
/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
void llvm::initializeCodeGen(PassRegistry &Registry) {
+ initializeBranchFolderPassPass(Registry);
initializeCalculateSpillWeightsPass(Registry);
initializeDeadMachineInstructionElimPass(Registry);
initializeGCModuleInfoPass(Registry);