summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PeepholeOptimizer.cpp
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
commitef5a1c3ec300ef69f7a1f7ba65f053b4210878a0 (patch)
tree09d6ecee7300f6bbd16cd013abad302c0a93bd4b /llvm/lib/CodeGen/PeepholeOptimizer.cpp
parenta2f8e41a0adaa00f0caf213520113cae8f595b53 (diff)
downloadbcm5719-llvm-ef5a1c3ec300ef69f7a1f7ba65f053b4210878a0.tar.gz
bcm5719-llvm-ef5a1c3ec300ef69f7a1f7ba65f053b4210878a0.zip
Revert r117876 for now, it's causing more testsuite failures.
llvm-svn: 117879
Diffstat (limited to 'llvm/lib/CodeGen/PeepholeOptimizer.cpp')
-rw-r--r--llvm/lib/CodeGen/PeepholeOptimizer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
index e27ea153d15..210f8866dfe 100644
--- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud