summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-05-05 21:47:15 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-05-05 21:47:15 +0000
commit45b3dcd35b2c82dbcc41124412377e1cab18dcb2 (patch)
tree8e91878490546df3ecf3574731679ef9bc5b444b /llvm/lib/Target/R600/AMDGPUISelLowering.cpp
parent71e1a64f916eefe0af44b0fedfc06eebbc7c6ce6 (diff)
downloadbcm5719-llvm-45b3dcd35b2c82dbcc41124412377e1cab18dcb2.tar.gz
bcm5719-llvm-45b3dcd35b2c82dbcc41124412377e1cab18dcb2.zip
R600: Expand i64 ISD:SUB
llvm-svn: 208005
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index 2c751a8be58..b34691a2a78 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -202,6 +202,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
setOperationAction(ISD::UINT_TO_FP, MVT::i64, Custom);
setOperationAction(ISD::MUL, MVT::i64, Expand);
+ setOperationAction(ISD::SUB, MVT::i64, Expand);
setOperationAction(ISD::UDIV, MVT::i32, Expand);
setOperationAction(ISD::UDIVREM, MVT::i32, Custom);
OpenPOWER on IntegriCloud