[PATCH] D48826: [AMDGPU] Add support for TFE/LWE in image intrinsics

David Stuttard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 06:21:36 PST 2018


dstuttard updated this revision to Diff 172942.
dstuttard marked an inline comment as done.
dstuttard added a comment.
Herald added a subscriber: jfb.

Modified based on review feedback from Nicolai

Not sure that the new code is any less spooky, but I'm sure it is more robust.
New requested tests also implemented.
Rebased onto latest trunk and fixed new issues with a16 support.


Repository:
  rL LLVM

https://reviews.llvm.org/D48826

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPU.h
  lib/Target/AMDGPU/AMDGPU.td
  lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/CMakeLists.txt
  lib/Target/AMDGPU/MIMGInstructions.td
  lib/Target/AMDGPU/SIAddIMGInit.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  lib/Transforms/InstCombine/InstCombineInternal.h
  lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.image.load.a16.d16.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.image.load.a16.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.dim.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll
  test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48826.172942.patch
Type: text/x-patch
Size: 89182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/6588ae78/attachment-0001.bin>


More information about the llvm-commits mailing list