[PATCH] D42885: [AMDGPU] intrintrics for byte/short load/store

Tim Corringham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 3 10:37:54 PST 2018


timcorringham created this revision.
Herald added subscribers: llvm-commits, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, arsenm.

Added intrinsics for the instructions:

- buffer_load_ubyte
- buffer_load_ushort
- buffer_store_byte
- buffer_store_short

Added test cases to existing buffer load/store tests.


Repository:
  rL LLVM

https://reviews.llvm.org/D42885

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/BUFInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstrInfo.td
  test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42885.132746.patch
Type: text/x-patch
Size: 12352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180203/bf55bbac/attachment.bin>


More information about the llvm-commits mailing list