diff options
author | Eric Christopher <echristo@apple.com> | 2010-10-31 22:42:55 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-10-31 22:42:55 +0000 |
commit | b698a56dd4739fb1a407b2b286bf2aa7bdf86fde (patch) | |
tree | 8e2659819204049828e42dd650e980319beccdd2 /lib/CodeGen | |
parent | b3747706fc0ccece33516b257f6601508c3a2a45 (diff) | |
download | external_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.cpp | 2 |
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); |