AMDGPU/SI: Implement DS_PERMUTE/DS_BPERMUTE Instruction Definitions and Intrinsics
authorChangpeng Fang <changpeng.fang@gmail.com>
Tue, 1 Mar 2016 17:51:23 +0000 (17:51 +0000)
committerChangpeng Fang <changpeng.fang@gmail.com>
Tue, 1 Mar 2016 17:51:23 +0000 (17:51 +0000)
commit24f035af32effb159cc001feff198e070d2d8431
tree273adfd623501e95ac02e12e8a39f492c9914610
parentd176d744af43a055b4b2cf3e9999bce54abbb9ae
AMDGPU/SI: Implement DS_PERMUTE/DS_BPERMUTE Instruction Definitions and Intrinsics

Summary:
  This patch impleemnts DS_PERMUTE/DS_BPERMUTE instruction definitions and intrinsics,
which are new since VI.

Reviewers: tstellarAMD, arsenm

Subscribers: llvm-commits, arsenm

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

llvm-svn: 262356
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/VIInstructions.td
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.bpermute.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.permute.ll [new file with mode: 0644]