Commit c70c394
[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 (llvm#120095)1 parent 6958fc1 commit c70c394
File tree
4 files changed
+235
-229
lines changed- clang
- lib/CodeGen/Targets
- test
- CodeGenCUDA
- CodeGen
4 files changed
+235
-229
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
534 | 538 | | |
535 | 539 | | |
536 | 540 | | |
| |||
0 commit comments