[PATCH] D70315: [InstCombine][AMDGPU] Trim more components of *buffer_load

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 08:00:55 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.
piotr added a reviewer: arsenm.

Add trimming of unused components of s_buffer_load.

Extend trimming of *buffer_load to also include
unused components at the beginning of vectors and update offset.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70315

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: D70315.229554.patch
Type: text/x-patch
Size: 45855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191115/98f563c9/attachment-0001.bin>


More information about the llvm-commits mailing list