summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-05-02 15:41:46 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-05-02 15:41:46 +0000
commit605e116e8ed1c23e9d4756f34d2645f759c5b39e (patch)
tree9034d69f67c7c28b5406b3ed9da403c8ea02265e /llvm/lib
parenteba61071d7bac3933af19064a27b56c02f51be27 (diff)
downloadbcm5719-llvm-605e116e8ed1c23e9d4756f34d2645f759c5b39e.tar.gz
bcm5719-llvm-605e116e8ed1c23e9d4756f34d2645f759c5b39e.zip
R600: Expand TruncStore i64 -> {i16,i8}
llvm-svn: 207844
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index 52a500c0d5e..8adf7a96f0c 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -145,6 +145,8 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
// handle 64-bit stores.
setTruncStoreAction(MVT::v4i32, MVT::v4i16, Expand);
+ setTruncStoreAction(MVT::i64, MVT::i16, Expand);
+ setTruncStoreAction(MVT::i64, MVT::i8, Expand);
setTruncStoreAction(MVT::i64, MVT::i1, Expand);
setTruncStoreAction(MVT::v2i64, MVT::v2i1, Expand);
setTruncStoreAction(MVT::v4i64, MVT::v4i1, Expand);
OpenPOWER on IntegriCloud