[PATCH] D157389: AutoUpgrade: Use syncscope("agent") atomic.inc/dec intrinsic upgrade

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 05:44:05 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, rampitec, sameerds, nhaehnle, jdoerfert, tianshilei1992.
Herald added subscribers: hiraditya, jvesely.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

The old syncscope parameter never really worked correctly, but
effectively gave "workgroup" scope. Use something faster than system
but more correct than before.


https://reviews.llvm.org/D157389

Files:
  llvm/lib/IR/AutoUpgrade.cpp
  llvm/test/Bitcode/amdgcn-atomic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157389.548171.patch
Type: text/x-patch
Size: 9289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230808/93e2a59a/attachment.bin>


More information about the llvm-commits mailing list