[PATCH] D64911: [AMDGPU] Extend the SI Load/Store optimizer

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 04:01:57 PDT 2019


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

Extend the SI Load/Store optimizer to merge MIMG load instructions. Handle
different flavours of image_load and image_sample instructions.

When the instructions of the same subclass differ only in dmask, merge
them and update dmask accordingly.


Repository:
  rL LLVM

https://reviews.llvm.org/D64911

Files:
  lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  test/CodeGen/AMDGPU/merge-image-load.mir
  test/CodeGen/AMDGPU/merge-image-sample.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64911.210524.patch
Type: text/x-patch
Size: 107866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/226ccbf5/attachment-0001.bin>


More information about the llvm-commits mailing list