R600/SI: add gather4 and getlod intrinsics (v3)
authorMarek Olsak <marek.olsak@amd.com>
Wed, 18 Jun 2014 22:00:29 +0000 (22:00 +0000)
committerMarek Olsak <marek.olsak@amd.com>
Wed, 18 Jun 2014 22:00:29 +0000 (22:00 +0000)
commit51b8e7b2e73cff4af2cc9bdebd5e3dfc5880d749
treee57cb9ec3f1d49140ffb69f221834634426e65d2
parent11415c61204074c24a7e582dc077e25544526976
R600/SI: add gather4 and getlod intrinsics (v3)

This contains all the previous patches + getlod support on top of it.
It doesn't use SDNodes anymore, so it's quite small.
It also adds v16i8 to SReg_128, which is used for the sampler descriptor.

Reviewed-by: Tom Stellard
llvm-svn: 211228
llvm/lib/Target/R600/SIInstrInfo.td
llvm/lib/Target/R600/SIInstructions.td
llvm/lib/Target/R600/SIIntrinsics.td
llvm/lib/Target/R600/SIRegisterInfo.td
llvm/test/CodeGen/R600/llvm.SI.gather4.ll [new file with mode: 0644]
llvm/test/CodeGen/R600/llvm.SI.getlod.ll [new file with mode: 0644]