[llvm] AMDGPU: Undo atomicrmw add/sub/xor 0 -> atomicrmw or canonicalization (PR #87533)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 13:42:38 PDT 2024


arsenm wrote:

> I believe scope does not necessarily point to a specific bus. Most of the uses probably would not request a device scope on an atomic in remote memory, but this is not necessary. Why not to do it for any scope?

Because the question of bus is only relevant at system scope. The device local scopes don't have the issue 

https://github.com/llvm/llvm-project/pull/87533


More information about the llvm-commits mailing list