[llvm-commits] CVS: llvm/lib/Target/X86/PeepholeOptimizer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Feb 17 01:37:01 PST 2004
Changes in directory llvm/lib/Target/X86:
PeepholeOptimizer.cpp updated: 1.22 -> 1.23
---
Log message:
Disable this peephole for now. We can't keep track of the fact that the immediate is 8 bits,
but the memory reference is full sized.
---
Diffs of the changes: (+2 -0)
Index: llvm/lib/Target/X86/PeepholeOptimizer.cpp
diff -u llvm/lib/Target/X86/PeepholeOptimizer.cpp:1.22 llvm/lib/Target/X86/PeepholeOptimizer.cpp:1.23
--- llvm/lib/Target/X86/PeepholeOptimizer.cpp:1.22 Tue Feb 17 00:28:19 2004
+++ llvm/lib/Target/X86/PeepholeOptimizer.cpp Tue Feb 17 01:36:32 2004
@@ -93,6 +93,7 @@
}
return false;
+#if 0
case X86::IMULrmi16: case X86::IMULrmi32:
assert(MI->getNumOperands() == 6 && "These should all have 6 operands!");
if (MI->getOperand(5).isImmediate()) {
@@ -117,6 +118,7 @@
}
}
return false;
+#endif
case X86::ADDri16: case X86::ADDri32:
case X86::ADDmi16: case X86::ADDmi32:
More information about the llvm-commits
mailing list