Revert r117876 for now, it's causing more testsuite failures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117879 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2010-10-31 22:42:55 +00:00
parent b3747706fc
commit b698a56dd4

View 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);