aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit58648e4e98a9e7ba0926cf638f3c107c27711b0d (patch)
treeba783328cf234820e087ce0d90e6a2e4ae2a5840 /llvm/lib/CodeGen/CodeGen.cpp
parent9e761997d88955df346e9f0b574578ad48891808 (diff)
downloadllvm-58648e4e98a9e7ba0926cf638f3c107c27711b0d.zip
llvm-58648e4e98a9e7ba0926cf638f3c107c27711b0d.tar.gz
llvm-58648e4e98a9e7ba0926cf638f3c107c27711b0d.tar.bz2
Move pass configuration out of pass constructors: BranchFolderPass
llvm-svn: 150095
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 7651e22..c838e6f 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/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);