[PATCH] D111869: [AMDGPU] Add patterns for i8/i16 local atomic load/store

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 15 02:32:17 PDT 2021


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

Add patterns for i8/i16 local atomic load/store.

Added tests for new patterns.

Copied atomic_[store/load]_local.ll to GlobalISel directory
and commented out two tests that crashed with -global-isel
(not related to the patch).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111869

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
  llvm/lib/Target/AMDGPU/DSInstructions.td
  llvm/lib/Target/AMDGPU/SIInstrInfo.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_local.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_store_local.ll
  llvm/test/CodeGen/AMDGPU/atomic_load_local.ll
  llvm/test/CodeGen/AMDGPU/atomic_store_local.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111869.379941.patch
Type: text/x-patch
Size: 16055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211015/2b12ed02/attachment.bin>


More information about the llvm-commits mailing list