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)
commitae6c06e5dec56b8c89256360794d506c2d7e1c44
tree3becda8cbd340a66d0334dd92188b9a074ea7276
parent538ceeb6e0a59b87146a8f3ab0686ae48a047d29
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>
llvm-svn: 174633
llvm/lib/Target/R600/SIInstrInfo.td
llvm/lib/Target/R600/SIInstructions.td
llvm/lib/Target/R600/SIIntrinsics.td