[PATCH] D48435: AMDGPU: Add patterns for i32/i64 local atomic load/store

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 08:08:29 PDT 2018


arsenm created this revision.
arsenm added reviewers: t-tye, kzhuravl.
Herald added subscribers: tpr, dstuttard, yaxunl, nhaehnle, wdng.

Not sure why the 32/64 split is needed in the atomic_load
store hierarchies. The regular PatFrags do this, but we don't
do it for the existing handling for global.

I'm not 100% sure if anything else is needed to handle the different orderings correctly


https://reviews.llvm.org/D48435

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48435.152308.patch
Type: text/x-patch
Size: 9922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/441e4b42/attachment.bin>


More information about the llvm-commits mailing list