summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-03 07:53:18 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-03 07:53:18 +0000
commit150d2124b2d1714bb9ae85d80b3fe6d999d97f25 (patch)
tree060c5f97c044775e7ca4ebfc38799cec8b232880 /llvm
parent43cecb12002694e925eb0c020b9dab07db22950c (diff)
downloadbcm5719-llvm-150d2124b2d1714bb9ae85d80b3fe6d999d97f25.tar.gz
bcm5719-llvm-150d2124b2d1714bb9ae85d80b3fe6d999d97f25.zip
Undo what looks like accidental removal of an instcombine pass in r122740.
llvm-svn: 122743
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/StandardPasses.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/StandardPasses.h b/llvm/include/llvm/Support/StandardPasses.h
index 6a428e7b4dd..9372bf299a5 100644
--- a/llvm/include/llvm/Support/StandardPasses.h
+++ b/llvm/include/llvm/Support/StandardPasses.h
@@ -132,6 +132,7 @@ namespace llvm {
PM->add(createEarlyCSEPass()); // Catch trivial redundancies
if (SimplifyLibCalls)
PM->add(createSimplifyLibCallsPass()); // Library Call Optimizations
+ PM->add(createInstructionCombiningPass()); // Cleanup for scalarrepl.
PM->add(createJumpThreadingPass()); // Thread jumps.
PM->add(createCorrelatedValuePropagationPass()); // Propagate conditionals
PM->add(createCFGSimplificationPass()); // Merge & remove BBs
OpenPOWER on IntegriCloud