[PATCH] D146737: [AMDGPU] Trim zero components from buffer and image stores

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 09:27:51 PDT 2023


matejam updated this revision to Diff 526097.
matejam added a comment.

Change condition in for loop, instead of i >= 0, put i > 0. We don't want to optimize out the 0th element.


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

https://reviews.llvm.org/D146737

Files:
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
  llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-simplify-image-buffer-stores.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146737.526097.patch
Type: text/x-patch
Size: 16382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230526/e2556a03/attachment.bin>


More information about the llvm-commits mailing list