AMDGPU/SI: Add offset field to ds_permute/ds_bpermute instructions
authorTom Stellard <thomas.stellard@amd.com>
Fri, 29 Apr 2016 14:34:26 +0000 (14:34 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 29 Apr 2016 14:34:26 +0000 (14:34 +0000)
commit92b24f324be33b982d87814bc8b721f8c0e55ae7
treed6137bf33a1de1e395ca0a1dac77c007c6d86919
parentfba875f90287e2c1037bb8cf0acffafba87cf8c7
AMDGPU/SI: Add offset field to ds_permute/ds_bpermute instructions

Summary:
These instructions can add an immediate offset to the address, like other
ds instructions.

Reviewers: arsenm

Subscribers: arsenm, scchan

Differential Revision: http://reviews.llvm.org/D19233

llvm-svn: 268043
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.bpermute.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.permute.ll