[PATCH] D120285: [AMDGPU] Extend SILoadStoreOptimizer to handle global saddr loads

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 21 15:28:31 PST 2022


rampitec created this revision.
rampitec added a reviewer: foad.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This adds handling of the _SADDR forms to the GLOBAL_LOAD combining.

TODO: merge global stores.
TODO: merge flat load/stores.
TODO: merge flat with global promoting to flat.


https://reviews.llvm.org/D120285

Files:
  llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  llvm/test/CodeGen/AMDGPU/merge-global-load-store.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120285.410407.patch
Type: text/x-patch
Size: 15633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220221/bd0df7fd/attachment.bin>


More information about the llvm-commits mailing list