[PATCH] D116042: [AMDGPU][InstCombine] Remove zero LOD bias

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 21 02:26:44 PST 2021


sebastian-ne updated this revision to Diff 395624.
sebastian-ne added a comment.
Herald added subscribers: ormris, steven_wu.

Move all image optimizations to IR combines and add image_gather instructions to zero-bias optimization.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116042/new/

https://reviews.llvm.org/D116042

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/MIMGInstructions.td
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/image_ls_mipmap_zero.a16.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/image_ls_mipmap_zero.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.ltolz.a16.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.ltolz.ll
  llvm/test/CodeGen/AMDGPU/cluster_stores.ll
  llvm/test/CodeGen/AMDGPU/dagcombine-fma-fmad.ll
  llvm/test/CodeGen/AMDGPU/image_ls_mipmap_zero.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.ltolz.ll
  llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
  llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116042.395624.patch
Type: text/x-patch
Size: 182527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211221/969e1d4d/attachment-0001.bin>


More information about the llvm-commits mailing list