Revert svn 122743, removing the instcombine pass that was replaced by earlycse.

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.

llvm-svn: 122907
This commit is contained in:
Bob Wilson 2011-01-05 21:16:50 +00:00
parent 3d7ba422df
commit 70abb04bf5

View 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