turn IPSCCP back on by default, try #3 or 4? Woo.

llvm-svn: 85929
This commit is contained in:
Chris Lattner 2009-11-03 19:35:13 +00:00
parent 37958aa864
commit d697debebf
2 changed files with 1 additions and 3 deletions

View File

@ -99,8 +99,7 @@ namespace llvm {
if (UnitAtATime) {
PM->add(createGlobalOptimizerPass()); // Optimize out global vars
PM->add(createIPConstantPropagationPass()); // IP CP
// PM->add(createIPSCCPPass()); // IP SCCP
PM->add(createIPSCCPPass()); // IP SCCP
PM->add(createDeadArgEliminationPass()); // Dead argument elimination
}
PM->add(createInstructionCombiningPass()); // Clean up after IPCP & DAE

View File

@ -1,5 +1,4 @@
// RUN: %llvmgxx %s -O2 -S -o - | FileCheck %s
// XFAIL: *
// This test verifies that we get expected codegen out of the -O2 optimization
// level from the full optimizer.