summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PeepholeOptimizer.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-06-06 23:53:03 +0000
committerManman Ren <mren@apple.com>2012-06-06 23:53:03 +0000
commit9c9641812c3b1ce55b3aefb3d0a9a06bd78d0b88 (patch)
tree5e40849371d0a18a9b7b88d5ad8841c97e53a46b /llvm/lib/CodeGen/PeepholeOptimizer.cpp
parent618547a9c68c4b74b04439b7e4518e4421236b6b (diff)
downloadbcm5719-llvm-9c9641812c3b1ce55b3aefb3d0a9a06bd78d0b88.tar.gz
bcm5719-llvm-9c9641812c3b1ce55b3aefb3d0a9a06bd78d0b88.zip
Revert r157755.
The commit is intended to fix rdar://11540023. It is implemented as part of peephole optimization. We can actually implement this in the SelectionDAG lowering phase. llvm-svn: 158122
Diffstat (limited to 'llvm/lib/CodeGen/PeepholeOptimizer.cpp')
-rw-r--r--llvm/lib/CodeGen/PeepholeOptimizer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
index d7d112f1d97..81cf9011d1d 100644
--- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
@@ -472,7 +472,6 @@ bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) {
if (SeenMoveImm)
Changed |= foldImmediate(MI, MBB, ImmDefRegs, ImmDefMIs);
}
- Changed |= TII->OptimizeSubInstr(MI, MRI);
First = false;
PMII = MII;
OpenPOWER on IntegriCloud