projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b374770
)
Revert r117876 for now, it's causing more testsuite failures.
author
Eric Christopher
<echristo@apple.com>
Sun, 31 Oct 2010 22:42:55 +0000
(22:42 +0000)
committer
Eric Christopher
<echristo@apple.com>
Sun, 31 Oct 2010 22:42:55 +0000
(22:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117879
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PeepholeOptimizer.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PeepholeOptimizer.cpp
b/lib/CodeGen/PeepholeOptimizer.cpp
index e27ea153d15909f3340977c233aa62cf2d6585dd..210f8866dfea276da270bd56a437ab72062fdb93 100644
(file)
--- 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);