[PATCH] D18255: AMDGPU: Overload return type of llvm.amdgcn.buffer.load.format

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 15:02:17 PDT 2016


nhaehnle created this revision.
nhaehnle added reviewers: tstellarAMD, arsenm.
nhaehnle added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

Allow the selection of BUFFER_LOAD_FORMAT_x and _XY. Do this now before
the frontend patches land in Mesa. Eventually, we may want to automatically
reduce the size of loads at the LLVM IR level, which requires such overloads,
and in some cases Mesa can generate them directly.

http://reviews.llvm.org/D18255

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18255.50980.patch
Type: text/x-patch
Size: 11502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160317/3ea423b0/attachment.bin>


More information about the llvm-commits mailing list