Undo what looks like accidental removal of an instcombine pass in r122740.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 3 Jan 2011 07:53:18 +0000 (07:53 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 3 Jan 2011 07:53:18 +0000 (07:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122743 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/StandardPasses.h

index 6a428e7b4dd6ae637fffab385c44e03cc1e235b0..9372bf299a5cdcd1cde458fb7d249f588adef6bc 100644 (file)
@@ -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