Commit 81fae0d
authored
[Clang][AMDGPU] Stop defaulting to
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.one-as for all atomic scopes (#120095)1 parent 3f79057 commit 81fae0d
File tree
5 files changed
+269
-261
lines changed- clang
- lib/CodeGen/Targets
- test
- CodeGenCUDA
- CodeGen
5 files changed
+269
-261
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
541 | 545 | | |
542 | 546 | | |
543 | 547 | | |
| |||
0 commit comments