[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 12 20:30:10 PDT 2005
Changes in directory llvm/lib/Target/X86:
X86ISelPattern.cpp updated: 1.104 -> 1.105
---
Log message:
Fix some mysteriously missing {}'s which cause the miscompilation of
Olden/mst, Ptrdist/bc, Obsequi, etc.
---
Diffs of the changes: (+2 -2)
X86ISelPattern.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.104 llvm/lib/Target/X86/X86ISelPattern.cpp:1.105
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.104 Tue Apr 12 21:39:05 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp Tue Apr 12 22:29:53 2005
@@ -2191,8 +2191,7 @@
assert((N.getOpcode() != ISD::SREM || MVT::isInteger(N.getValueType())) &&
"We don't support this operator!");
- if (N.getOpcode() == ISD::SDIV)
-
+ if (N.getOpcode() == ISD::SDIV) {
// We can fold loads into FpDIVs, but not really into any others.
if (N.getValueType() == MVT::f64) {
// Check for reversed and unreversed DIV.
@@ -2267,6 +2266,7 @@
return Result;
}
}
+ }
if (getRegPressure(N.getOperand(0)) > getRegPressure(N.getOperand(1))) {
Tmp1 = SelectExpr(N.getOperand(0));
More information about the llvm-commits
mailing list