diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2012-12-21 16:33:24 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-12-21 16:33:24 +0000 |
commit | 519b456fe1eae633854584f54c8804498b256381 (patch) | |
tree | df8136e69cc89c077383146d03550f8a3edb9642 /lib/Target/R600/R600ISelLowering.cpp | |
parent | 739c7a83e16e7daaf22cfa4ae84e8d1cc0260941 (diff) | |
download | llvm-519b456fe1eae633854584f54c8804498b256381.tar.gz llvm-519b456fe1eae633854584f54c8804498b256381.tar.bz2 llvm-519b456fe1eae633854584f54c8804498b256381.tar.xz |
R600: Expand vec4 INT <-> FP conversions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/R600ISelLowering.cpp')
-rw-r--r-- | lib/Target/R600/R600ISelLowering.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/R600/R600ISelLowering.cpp b/lib/Target/R600/R600ISelLowering.cpp index 28d5470b8c..19e6f9c057 100644 --- a/lib/Target/R600/R600ISelLowering.cpp +++ b/lib/Target/R600/R600ISelLowering.cpp @@ -41,6 +41,10 @@ R600TargetLowering::R600TargetLowering(TargetMachine &TM) : setOperationAction(ISD::ADD, MVT::v4i32, Expand); setOperationAction(ISD::AND, MVT::v4i32, Expand); + setOperationAction(ISD::FP_TO_SINT, MVT::v4i32, Expand); + setOperationAction(ISD::FP_TO_UINT, MVT::v4i32, Expand); + setOperationAction(ISD::SINT_TO_FP, MVT::v4i32, Expand); + setOperationAction(ISD::UINT_TO_FP, MVT::v4i32, Expand); setOperationAction(ISD::UDIV, MVT::v4i32, Expand); setOperationAction(ISD::UREM, MVT::v4i32, Expand); setOperationAction(ISD::SETCC, MVT::v4i32, Expand); |