Revert r117876 for now, it's causing more testsuite failures.
authorEric Christopher <echristo@apple.com>
Sun, 31 Oct 2010 22:42:55 +0000 (22:42 +0000)
committerEric Christopher <echristo@apple.com>
Sun, 31 Oct 2010 22:42:55 +0000 (22:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117879 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PeepholeOptimizer.cpp

index e27ea153d15909f3340977c233aa62cf2d6585dd..210f8866dfea276da270bd56a437ab72062fdb93 100644 (file)
@@ -276,11 +276,9 @@ bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) {
 
       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);