[PATCH] D38906: AMDGPU/SI: Implement d16 support for buffer intrinsics

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 15:19:22 PST 2018


cfang updated this revision to Diff 128660.
cfang added a comment.

Update based on Reviewer's comments:

1. define encoding subtarget "GFX80" to encode  unpacked d16 buffer/tbuffer instructions;
2. add MC test cases;
3. define two functions: SITargetLowering::lowerIntrinsicWChain and SITargetLowering::handleVDataToStore.


https://reviews.llvm.org/D38906

Files:
  lib/Target/AMDGPU/AMDGPU.td
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/BUFInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  lib/Target/AMDGPU/SIInstrInfo.td
  test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.d16.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.d16.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.d16.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.d16.ll
  test/MC/AMDGPU/buf-fmt-d16-packed.s
  test/MC/AMDGPU/buf-fmt-d16-unpacked.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38906.128660.patch
Type: text/x-patch
Size: 55616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180104/64bd193c/attachment.bin>


More information about the llvm-commits mailing list