Revert svn 122743, removing the instcombine pass that was replaced by earlycse.
authorBob Wilson <bob.wilson@apple.com>
Wed, 5 Jan 2011 21:16:50 +0000 (21:16 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 5 Jan 2011 21:16:50 +0000 (21:16 +0000)
My i386 llvm-gcc nightly tester found a regression for
SingleSource/Benchmarks/McGill/chomp that a bisect blamed on 122743.
That seems strange but apparently the combination of earlycse and instcombine
did something bad.  Chris says he intended to remove the instcombine pass, so
let's go ahead and try that.  We'll see if there are any performance losses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122907 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/StandardPasses.h

index e5c8b7eb7add4552782cf71d1fa08e64c1c3a797..e2455bee193f4bdae8368c17a1fb0ba7878e41c4 100644 (file)
@@ -132,7 +132,6 @@ namespace llvm {
     PM->add(createEarlyCSEPass());              // Catch trivial redundancies
     if (OptimizeBuiltins)
       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