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

Evan Cheng evan.cheng at apple.com
Sun Jan 2 23:53:18 PST 2011


Author: evancheng
Date: Mon Jan  3 01:53:18 2011
New Revision: 122743

URL: http://llvm.org/viewvc/llvm-project?rev=122743&view=rev
Log:
Undo what looks like accidental removal of an instcombine pass in r122740.

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=122743&r1=122742&r2=122743&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/StandardPasses.h (original)
+++ llvm/trunk/include/llvm/Support/StandardPasses.h Mon Jan  3 01:53:18 2011
@@ -132,6 +132,7 @@
     PM->add(createEarlyCSEPass());              // Catch trivial redundancies
     if (SimplifyLibCalls)
       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





More information about the llvm-commits mailing list