[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Oct 26 11:01:22 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.38 -> 1.39
---
Log message:
Fix an assert compiling MallocBench/gs
---
Diffs of the changes: (+1 -1)
PPCISelLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.38 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.39
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.38 Tue Oct 25 18:48:36 2005
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Wed Oct 26 13:01:11 2005
@@ -217,7 +217,7 @@
if (LHS.getValueType() == MVT::f32) // Comparison is always 64-bits
LHS = DAG.getNode(ISD::FP_EXTEND, MVT::f64, LHS);
return DAG.getNode(PPCISD::FSEL, ResVT,
- DAG.getNode(ISD::FNEG, ResVT, LHS), TV, FV);
+ DAG.getNode(ISD::FNEG, MVT::f64, LHS), TV, FV);
}
SDOperand Cmp;
More information about the llvm-commits
mailing list