[PATCH] D145524: [AMDGPU] Skip buffer_wbl2 before atomic fence acquire

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 12:43:47 PST 2023


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

Memory models for gfx90a and gfx940 do not require buffer_wbl2
before the fence for acquire ordering, but we do insert the full
release.

Fixes: SWDEV-386785


https://reviews.llvm.org/D145524

Files:
  llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
  llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145524.503134.patch
Type: text/x-patch
Size: 4794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230307/d610bb30/attachment.bin>


More information about the llvm-commits mailing list