[llvm-commits] [llvm] r112948 - /llvm/trunk/include/llvm/Support/StandardPasses.h

Owen Anderson resistor at mac.com
Thu Sep 2 21:16:29 PDT 2010


Author: resistor
Date: Thu Sep  2 23:16:28 2010
New Revision: 112948

URL: http://llvm.org/viewvc/llvm-project?rev=112948&view=rev
Log:
Re-enable CorrelatedValuePropagation.  I've tested nightly tests, llvm-gcc 
bootstrap, and clang self-host.

Modified:
    llvm/trunk/include/llvm/Support/StandardPasses.h

Modified: llvm/trunk/include/llvm/Support/StandardPasses.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/StandardPasses.h?rev=112948&r1=112947&r2=112948&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/StandardPasses.h (original)
+++ llvm/trunk/include/llvm/Support/StandardPasses.h Thu Sep  2 23:16:28 2010
@@ -122,6 +122,7 @@
       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
     PM->add(createInstructionCombiningPass());  // Combine silly seq's
     
@@ -146,6 +147,7 @@
     // opened up by them.
     PM->add(createInstructionCombiningPass());
     PM->add(createJumpThreadingPass());         // Thread jumps
+    PM->add(createCorrelatedValuePropagationPass());
     PM->add(createDeadStoreEliminationPass());  // Delete dead stores
     PM->add(createAggressiveDCEPass());         // Delete dead instructions
     PM->add(createCFGSimplificationPass());     // Merge & remove BBs





More information about the llvm-commits mailing list