summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-05 19:41:10 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-05 19:41:10 +0000
commit6f2437997490e909546ea59cba02080f256d58cd (patch)
treed90451e68ce3be782e1c46bc461f2dc6754c0616 /llvm/lib
parentd21ac19bdaa686944164c6f1f298fdfcba0ef80e (diff)
downloadbcm5719-llvm-6f2437997490e909546ea59cba02080f256d58cd.tar.gz
bcm5719-llvm-6f2437997490e909546ea59cba02080f256d58cd.zip
R600: Fix i64 to i32 trunc on SI
llvm-svn: 190091
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/R600/SIISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/SIISelLowering.cpp b/llvm/lib/Target/R600/SIISelLowering.cpp
index f196059b894..05b7b5d9b74 100644
--- a/llvm/lib/Target/R600/SIISelLowering.cpp
+++ b/llvm/lib/Target/R600/SIISelLowering.cpp
@@ -90,6 +90,7 @@ SITargetLowering::SITargetLowering(TargetMachine &TM) :
setLoadExtAction(ISD::EXTLOAD, MVT::f32, Expand);
setTruncStoreAction(MVT::f64, MVT::f32, Expand);
+ setTruncStoreAction(MVT::i64, MVT::i32, Expand);
setOperationAction(ISD::GlobalAddress, MVT::i32, Custom);
OpenPOWER on IntegriCloud