aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-10-31 22:42:55 +0000
committerEric Christopher <echristo@apple.com>2010-10-31 22:42:55 +0000
commitb698a56dd4739fb1a407b2b286bf2aa7bdf86fde (patch)
tree8e2659819204049828e42dd650e980319beccdd2 /lib/CodeGen
parentb3747706fc0ccece33516b257f6601508c3a2a45 (diff)
downloadexternal_llvm-b698a56dd4739fb1a407b2b286bf2aa7bdf86fde.zip
external_llvm-b698a56dd4739fb1a407b2b286bf2aa7bdf86fde.tar.gz
external_llvm-b698a56dd4739fb1a407b2b286bf2aa7bdf86fde.tar.bz2
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/PeepholeOptimizer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/PeepholeOptimizer.cpp b/lib/CodeGen/PeepholeOptimizer.cpp
index e27ea15..210f886 100644
--- a/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/lib/CodeGen/PeepholeOptimizer.cpp
@@ -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);