R600/SI: Make sample intrinsic address parameter type overloaded.
authorTom Stellard <thomas.stellard@amd.com>
Thu, 7 Feb 2013 17:02:13 +0000 (17:02 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 7 Feb 2013 17:02:13 +0000 (17:02 +0000)
commit914e47bb0c5d01e4c129b8753ef315517aae8f2f
tree5eac6d5b2f75987497e426fdda28d1e343048ed0
parent36ba9091843bd1205fe3499ba4b55bbedc6583c9
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
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIInstructions.td
lib/Target/R600/SIIntrinsics.td