aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit3987e532f7e7b326083d3b5145bd29bb69e15410 (patch)
treeae6c8dea512113a7b3089b30dd338e5885d50b8e /lib
parent466fa17aba4014d8ce1e42e9f5622f5b872949f3 (diff)
downloadexternal_llvm-3987e532f7e7b326083d3b5145bd29bb69e15410.zip
external_llvm-3987e532f7e7b326083d3b5145bd29bb69e15410.tar.gz
external_llvm-3987e532f7e7b326083d3b5145bd29bb69e15410.tar.bz2
R600: Fix i64 to i32 trunc on SI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/R600/SIISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp
index f196059..05b7b5d 100644
--- a/lib/Target/R600/SIISelLowering.cpp
+++ b/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);