[PATCH] D22210: AMDGPU: Treat texture gather instructions more like other MIMG instructions

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 14:57:13 PDT 2016


nhaehnle updated this revision to Diff 63588.
nhaehnle added a comment.

Add isGather4 in SIInstrInfo.

!mayStore is the correct check, because we need to account for image
atomics here.


http://reviews.llvm.org/D22210

Files:
  lib/Target/AMDGPU/SIDefines.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstrFormats.td
  lib/Target/AMDGPU/SIInstrInfo.h
  lib/Target/AMDGPU/SIInstrInfo.td
  test/CodeGen/AMDGPU/llvm.SI.gather4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22210.63588.patch
Type: text/x-patch
Size: 4203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160711/7025da0e/attachment.bin>


More information about the llvm-commits mailing list