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:
51cdcd1
)
Fix i64 uint_to_fp on ppc64
author
Chris Lattner
<sabre@nondot.org>
Thu, 7 Dec 2006 01:24:16 +0000
(
01:24
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 7 Dec 2006 01:24:16 +0000
(
01:24
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32297
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index 1681406b39604cbb63560715b0dd8df4fb037721..bcdb1e1584fe5c1b4754ca25811f64c133be6d65 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-181,7
+181,8
@@
PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
// 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.