[llvm-commits] [llvm] r85929 - in /llvm/trunk: include/llvm/Support/StandardPasses.h test/FrontendC++/integration-O2.cpp

Chris Lattner sabre at nondot.org
Tue Nov 3 11:35:13 PST 2009


Author: lattner
Date: Tue Nov  3 13:35:13 2009
New Revision: 85929

URL: http://llvm.org/viewvc/llvm-project?rev=85929&view=rev
Log:
turn IPSCCP back on by default, try #3 or 4? Woo.

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

Modified: llvm/trunk/include/llvm/Support/StandardPasses.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/StandardPasses.h?rev=85929&r1=85928&r2=85929&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/StandardPasses.h (original)
+++ llvm/trunk/include/llvm/Support/StandardPasses.h Tue Nov  3 13:35:13 2009
@@ -99,8 +99,7 @@
     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

Modified: llvm/trunk/test/FrontendC++/integration-O2.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/integration-O2.cpp?rev=85929&r1=85928&r2=85929&view=diff

==============================================================================
--- llvm/trunk/test/FrontendC++/integration-O2.cpp (original)
+++ llvm/trunk/test/FrontendC++/integration-O2.cpp Tue Nov  3 13:35:13 2009
@@ -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.





More information about the llvm-commits mailing list