diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-11-03 19:35:13 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-11-03 19:35:13 +0000 |
| commit | d697debebf47644ff29cc306eec8beb2c9878bf0 (patch) | |
| tree | d23498545673c12ff577ed6e097c86da0b0e6fa1 /llvm | |
| parent | 37958aa864c96ffcd942539723d825032772581a (diff) | |
| download | bcm5719-llvm-d697debebf47644ff29cc306eec8beb2c9878bf0.tar.gz bcm5719-llvm-d697debebf47644ff29cc306eec8beb2c9878bf0.zip | |
turn IPSCCP back on by default, try #3 or 4? Woo.
llvm-svn: 85929
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Support/StandardPasses.h | 3 | ||||
| -rw-r--r-- | llvm/test/FrontendC++/integration-O2.cpp | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/StandardPasses.h b/llvm/include/llvm/Support/StandardPasses.h index a5394445a19..1a6d06b9fad 100644 --- a/llvm/include/llvm/Support/StandardPasses.h +++ b/llvm/include/llvm/Support/StandardPasses.h @@ -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 diff --git a/llvm/test/FrontendC++/integration-O2.cpp b/llvm/test/FrontendC++/integration-O2.cpp index 5f3f01a27f9..bb65ac21033 100644 --- a/llvm/test/FrontendC++/integration-O2.cpp +++ b/llvm/test/FrontendC++/integration-O2.cpp @@ -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. |

