diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-07-18 21:43:42 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-07-18 21:43:42 +0000 |
commit | fc047278c160cf15d99502d8170d431cfcfe8a5b (patch) | |
tree | 54dd48fa3d3a0da4ed77dbb09942d678b16e0347 /lib/Target/R600/AMDGPUISelLowering.cpp | |
parent | f5660aab413539bd94cfea8cd88fed80c54cd984 (diff) | |
download | llvm-fc047278c160cf15d99502d8170d431cfcfe8a5b.tar.gz llvm-fc047278c160cf15d99502d8170d431cfcfe8a5b.tar.bz2 llvm-fc047278c160cf15d99502d8170d431cfcfe8a5b.tar.xz |
R600/SI: Add support for v2f32 stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/AMDGPUISelLowering.cpp')
-rw-r--r-- | lib/Target/R600/AMDGPUISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUISelLowering.cpp b/lib/Target/R600/AMDGPUISelLowering.cpp index e2fd369f86..666e158091 100644 --- a/lib/Target/R600/AMDGPUISelLowering.cpp +++ b/lib/Target/R600/AMDGPUISelLowering.cpp @@ -57,6 +57,9 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) : setOperationAction(ISD::STORE, MVT::f32, Promote); AddPromotedToType(ISD::STORE, MVT::f32, MVT::i32); + setOperationAction(ISD::STORE, MVT::v2f32, Promote); + AddPromotedToType(ISD::STORE, MVT::v2f32, MVT::v2i32); + setOperationAction(ISD::STORE, MVT::v4f32, Promote); AddPromotedToType(ISD::STORE, MVT::v4f32, MVT::v4i32); |