llvm-project
81fae0d5 - [Clang][AMDGPU] Stop defaulting to `one-as` for all atomic scopes (#120095)

Commit
346 days ago
[Clang][AMDGPU] Stop defaulting to `one-as` for all atomic scopes (#120095) Summary: The documentation at https://llvm.org/docs/AMDGPUUsage.html#memory-scopes states that these 'one-as' modifiers are more specific versions of the scopes that only apply to a specific address space. This doesn't make sense for fences which have no associated address space to use, and it's a more restrictive version the normal scope. This should not tbe the default behavior, but it is currently emitted in all cases except for sequentially consistent.
Author
Parents
Loading