[PATCH] D49483: [AMDGPU] Optimize _L image intrinsic to _LZ when lod is zero

Ryan Taylor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 07:42:16 PDT 2018


rtaylor updated this revision to Diff 157961.
rtaylor added a comment.

Added gather4 test cases.
Added 'isNegative' to _L to _LZ check to include <= 0.0


Repository:
  rL LLVM

https://reviews.llvm.org/D49483

Files:
  lib/Target/AMDGPU/MIMGInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.ltolz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49483.157961.patch
Type: text/x-patch
Size: 12111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180730/3e2596b1/attachment.bin>


More information about the llvm-commits mailing list