summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-07-02 20:53:54 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-07-02 20:53:54 +0000
commit10ae6a0e6a9cb20f918ee905a6f7dc0f9ba9b96c (patch)
treea5df0a4f629be3b2fa107534c930157c694a1636 /llvm/lib/Target/R600/AMDGPUISelLowering.cpp
parentb2de94e0c640a73d863b59717bc09a305d4b5b77 (diff)
downloadbcm5719-llvm-10ae6a0e6a9cb20f918ee905a6f7dc0f9ba9b96c.tar.gz
bcm5719-llvm-10ae6a0e6a9cb20f918ee905a6f7dc0f9ba9b96c.zip
R600: Promote i64 loads to v2i32
llvm-svn: 212216
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index 64636de959b..60bceaff954 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -185,6 +185,9 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
setOperationAction(ISD::LOAD, MVT::v2f32, Promote);
AddPromotedToType(ISD::LOAD, MVT::v2f32, MVT::v2i32);
+ setOperationAction(ISD::LOAD, MVT::i64, Promote);
+ AddPromotedToType(ISD::LOAD, MVT::i64, MVT::v2i32);
+
setOperationAction(ISD::LOAD, MVT::v4f32, Promote);
AddPromotedToType(ISD::LOAD, MVT::v4f32, MVT::v4i32);
OpenPOWER on IntegriCloud