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.
Paths
| Differential D17276
AMDGPU/SI: add llvm.amdgcn.image.load/store[.mip] intrinsics ClosedPublic Authored by nhaehnle on Feb 15 2016, 1:50 PM.
Details Summary These correspond to IMAGE_LOAD/STORE[_MIP] and are going to be used by Mesa IMAGE_LOAD is already matched by llvm.SI.image.load. That intrinsic has
Diff Detail
Event TimelineComment Actions I have cleaned up the intrinsics, removing the unorm (always 1) and tfe & lwe This revision is now accepted and ready to land.Feb 16 2016, 3:55 PM Closed by commit rL261224: AMDGPU/SI: add llvm.amdgcn.image.load/store[.mip] intrinsics (authored by nha). · Explain WhyFeb 18 2016, 8:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 48333 llvm/trunk/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.td
llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
llvm/trunk/test/CodeGen/AMDGPU/llvm.amdgcn.image.ll
|