[PATCH] D71785: [InstCombine][AMDGPU] Trim components of s_buffer_load

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 13:47:56 PST 2019


piotr created this revision.
Herald added subscribers: llvm-commits, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Add trimming of unused components of s_buffer_load.

For s_buffer_load and unformatted buffer_load also trim unused
components at the beginning of vector and update offset accordingly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71785

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71785.234974.patch
Type: text/x-patch
Size: 41214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191220/3888f61f/attachment.bin>


More information about the llvm-commits mailing list