[PATCH] D106891: [AMDGPU] [Remarks] Emit optimization remarks for atomics generating CAS loop
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 12 09:09:39 PDT 2021
gandhi21299 added inline comments.
================
Comment at: llvm/lib/CodeGen/AtomicExpandPass.cpp:631
+ "at "
+ << (AI->getSyncScopeID() ? "system" : "single thread")
+ << " memory scope");
----------------
rampitec wrote:
> gandhi21299 wrote:
> > rampitec wrote:
> > > That does not help with target defined scope names, such as our "one-as" for example.
> > How can I get target defined scope names?
> It is right on the instruction:
> %result = atomicrmw fadd float addrspace(1)* %ptr, float 4.0 syncscope("one-as") seq_cst
>
Sorry, I meant from the LLVM API.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106891/new/
https://reviews.llvm.org/D106891
More information about the llvm-commits
mailing list