[PATCH] D17276: AMDGPU/SI: add llvm.amdgcn.image.load/store[.mip] intrinsics

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 13:50:59 PST 2016


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

These correspond to IMAGE_LOAD/STORE[_MIP] and are going to be used by Mesa
for the GL_ARB_shader_image_load_store extension.

IMAGE_LOAD is already matched by llvm.SI.image.load. That intrinsic has
a legacy name and pretends not to read memory.

http://reviews.llvm.org/D17276

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/llvm.amdgcn.image.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17276.48011.patch
Type: text/x-patch
Size: 13651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160215/278692b8/attachment.bin>


More information about the llvm-commits mailing list