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)
commitf286d63757ae5d16f8211227a435e6ad4faa2c35
tree3b94cb4c2f101ca664c5c6985164bee8dd1402aa
parent311ea125062983e1949bc1efda1dfa8e853ee70d
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211228 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIInstructions.td
lib/Target/R600/SIIntrinsics.td
lib/Target/R600/SIRegisterInfo.td
test/CodeGen/R600/llvm.SI.gather4.ll [new file with mode: 0644]
test/CodeGen/R600/llvm.SI.getlod.ll [new file with mode: 0644]