aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/R600/SIInstrInfo.td
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-02-07 17:02:13 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-02-07 17:02:13 +0000
commit914e47bb0c5d01e4c129b8753ef315517aae8f2f (patch)
tree5eac6d5b2f75987497e426fdda28d1e343048ed0 /lib/Target/R600/SIInstrInfo.td
parent36ba9091843bd1205fe3499ba4b55bbedc6583c9 (diff)
downloadexternal_llvm-914e47bb0c5d01e4c129b8753ef315517aae8f2f.zip
external_llvm-914e47bb0c5d01e4c129b8753ef315517aae8f2f.tar.gz
external_llvm-914e47bb0c5d01e4c129b8753ef315517aae8f2f.tar.bz2
R600/SI: Make sample intrinsic address parameter type overloaded.
Handle vectors of 1 to 16 integers. Change the intrinsic names to prevent the wrong one from being selected at runtime due to the overloading. Patch By: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIInstrInfo.td')
-rw-r--r--lib/Target/R600/SIInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/SIInstrInfo.td b/lib/Target/R600/SIInstrInfo.td
index 8ff2d6d..9d9f5f6 100644
--- a/lib/Target/R600/SIInstrInfo.td
+++ b/lib/Target/R600/SIInstrInfo.td
@@ -519,7 +519,7 @@ class MIMG_Load_Helper <bits<7> op, string asm> : MIMG <
op,
(outs VReg_128:$vdata),
(ins i32imm:$dmask, i1imm:$unorm, i1imm:$glc, i1imm:$da, i1imm:$r128,
- i1imm:$tfe, i1imm:$lwe, i1imm:$slc, VReg_128:$vaddr,
+ i1imm:$tfe, i1imm:$lwe, i1imm:$slc, VReg_32:$vaddr,
GPR4Align<SReg_256>:$srsrc, GPR4Align<SReg_128>:$ssamp),
asm,
[]> {