[llvm-commits] [llvm] r76040 - /llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
Anton Korobeynikov
asl at math.spbu.ru
Thu Jul 16 07:26:15 PDT 2009
Author: asl
Date: Thu Jul 16 09:26:06 2009
New Revision: 76040
URL: http://llvm.org/viewvc/llvm-project?rev=76040&view=rev
Log:
Expand fp_to_uint too
Modified:
llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
Modified: llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp?rev=76040&r1=76039&r2=76040&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp Thu Jul 16 09:26:06 2009
@@ -128,8 +128,11 @@
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);
+ setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand);
+ setOperationAction(ISD::FP_TO_UINT, MVT::i64, Expand);
setTruncStoreAction(MVT::f64, MVT::f32, Expand);
}
More information about the llvm-commits
mailing list