[llvm-commits] [llvm] r117879 - /llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp

Eric Christopher echristo at apple.com
Sun Oct 31 15:42:55 PDT 2010


Author: echristo
Date: Sun Oct 31 17:42:55 2010
New Revision: 117879

URL: http://llvm.org/viewvc/llvm-project?rev=117879&view=rev
Log:
Revert r117876 for now, it's causing more testsuite failures.

Modified:
    llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp

Modified: llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp?rev=117879&r1=117878&r2=117879&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/PeepholeOptimizer.cpp Sun Oct 31 17:42:55 2010
@@ -276,11 +276,9 @@
 
       if (MI->getDesc().isCompare() &&
           !MI->getDesc().hasUnmodeledSideEffects()) {
-#if 0
         if (OptimizeCmpInstr(MI, MBB, MII))
           Changed = true;
         else
-#endif
           ++MII;
       } else {
         Changed |= OptimizeExtInstr(MI, MBB, LocalMIs);





More information about the llvm-commits mailing list