summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:25:30 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:25:30 +0000
commit3f254d536a6707f8517421581eaca396b0b18555 (patch)
treee6e8278c615d988cb30e56822f38c6318514d0f1 /llvm/lib/Target/SystemZ
parent1ae8098144dc1475453f65c32700a7e061de6b4d (diff)
downloadbcm5719-llvm-3f254d536a6707f8517421581eaca396b0b18555.tar.gz
bcm5719-llvm-3f254d536a6707f8517421581eaca396b0b18555.zip
Expand uint_to_fp
llvm-svn: 76038
Diffstat (limited to 'llvm/lib/Target/SystemZ')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index 4144f970d9b..fcf55c113db 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -127,6 +127,8 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
setOperationAction(ISD::FSIN, MVT::f64, Expand);
setOperationAction(ISD::FCOS, MVT::f32, Expand);
setOperationAction(ISD::FCOS, MVT::f64, Expand);
+ setOperationAction(ISD::UINT_TO_FP, MVT::i32, Expand);
+ setOperationAction(ISD::UINT_TO_FP, MVT::i64, Expand);
}
SDValue SystemZTargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) {
OpenPOWER on IntegriCloud