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

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 15:38:11 PDT 2017


cfang updated this revision to Diff 121560.
cfang retitled this revision from "AMDGPU/SI: Implement d16 support buffer_load_format and tbuffer_load_format intrinsics" to "AMDGPU/SI: Implement d16 support for buffer intrinsics".
cfang added a comment.

1. Define a new feature, HasPackedD16VMem for gfx8.1 and beyond to guard the generation of VMem instructions with https://reviews.llvm.org/D16 bit set.
2. Put buffer_store intrinsics implementation in the same patch as buffer_loads;


https://reviews.llvm.org/D38906

Files:
  lib/Target/AMDGPU/AMDGPU.td
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/BUFInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38906.121560.patch
Type: text/x-patch
Size: 40130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171103/8f8bfda3/attachment.bin>


More information about the llvm-commits mailing list