diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:26:06 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:26:06 +0000 |
| commit | 573fab1879d5a472fad4493b32e7c6a367dfb1e5 (patch) | |
| tree | b06bc3e91fc480aa10cc2fe8ea4cdc32bd59449f /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | |
| parent | d57f8cee1df115ea32a15209a2878b97b6f6bb82 (diff) | |
| download | bcm5719-llvm-573fab1879d5a472fad4493b32e7c6a367dfb1e5.tar.gz bcm5719-llvm-573fab1879d5a472fad4493b32e7c6a367dfb1e5.zip | |
Expand fp_to_uint too
llvm-svn: 76040
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 7538bdc790a..757255e3ebb 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -128,8 +128,11 @@ 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); + setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand); + setOperationAction(ISD::FP_TO_UINT, MVT::i64, Expand); setTruncStoreAction(MVT::f64, MVT::f32, Expand); } |

