[PATCH] D48167: AMDGPU: Remove old-style image intrinsics
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 14 06:22:58 PDT 2018
nhaehnle created this revision.
nhaehnle added reviewers: arsenm, rampitec, mareko, tpr, b-sumner.
Herald added subscribers: t-tye, dstuttard, yaxunl, wdng, kzhuravl.
This also removes the need for atomic pseudo instructions, since
we select the correct encoding directly in SITargetLowering::lowerImage
for dimension-aware image intrinsics.
Mesa uses dimension-aware image intrinsics since
commit a9a7993441.
Change-Id: I7473d20009476a4ed6d919cae4e6dca9ff42e77a
Repository:
rL LLVM
https://reviews.llvm.org/D48167
Files:
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/AMDGPUSearchableTables.td
lib/Target/AMDGPU/MIMGInstructions.td
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstrInfo.td
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
test/CodeGen/AMDGPU/coalescer-subrange-crash.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.atomic.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.getlod.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.o.ll
test/CodeGen/AMDGPU/si-lod-bias.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48167.151339.patch
Type: text/x-patch
Size: 183857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180614/90c9fdd5/attachment-0001.bin>
More information about the llvm-commits
mailing list