[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Chris Lattner
sabre at nondot.org
Wed Dec 6 17:24:31 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.240 -> 1.241
---
Log message:
Fix i64 uint_to_fp on ppc64
---
Diffs of the changes: (+2 -1)
PPCISelLowering.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.240 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.241
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.240 Mon Dec 4 16:04:42 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Wed Dec 6 19:24:16 2006
@@ -181,7 +181,8 @@
// They also have instructions for converting between i64 and fp.
setOperationAction(ISD::FP_TO_SINT, MVT::i64, Custom);
setOperationAction(ISD::SINT_TO_FP, MVT::i64, Custom);
-
+ setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand);
+
// FIXME: disable this lowered code. This generates 64-bit register values,
// and we don't model the fact that the top part is clobbered by calls. We
// need to flag these together so that the value isn't live across a call.
More information about the llvm-commits
mailing list