turn IPSCCP back on by default, try #3 or 4? Woo.
authorChris Lattner <sabre@nondot.org>
Tue, 3 Nov 2009 19:35:13 +0000 (19:35 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Nov 2009 19:35:13 +0000 (19:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85929 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/StandardPasses.h
test/FrontendC++/integration-O2.cpp

index a5394445a195d6adc73b2203fac7346d5e7b5125..1a6d06b9fad5d7c00af57ba38918570206e35c71 100644 (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
index 5f3f01a27f91753a7f15e6fc3c7ee64436762f70..bb65ac210332a8a8cb3431ef04529e3c5ad5d8ff 100644 (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.