[PATCH] D123639: AMDGPU: Select i8/i16 global and flat atomic load/store

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 15:35:30 PDT 2022


arsenm created this revision.
arsenm added reviewers: AMDGPU, t-tye, AlexVlx.
Herald added subscribers: hsmhsm, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

As far as I know these should be atomic anyway, as long as the address
is aligned. Unaligned atomics hit an ugly error in AtomicExpand.


https://reviews.llvm.org/D123639

Files:
  llvm/lib/Target/AMDGPU/BUFInstructions.td
  llvm/lib/Target/AMDGPU/FLATInstructions.td
  llvm/test/CodeGen/AMDGPU/flat_atomics.ll
  llvm/test/CodeGen/AMDGPU/global_atomics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123639.422346.patch
Type: text/x-patch
Size: 15801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220412/7c6df97b/attachment.bin>


More information about the llvm-commits mailing list