================
@@ -383,6 +383,30 @@ static llvm::AtomicOrdering mapCABIAtomicOrdering(unsigned
AO) {
llvm_unreachable("Unknown AtomicOrderingCABI enum");
}
+// Map a __MEMORY_SCOPE_* integer constant to the AMDGPU-specific syncscope.
+// Invalid scope values are mapped to system scope (empty string).
----------------
ssahasra wrote:
I really haven't thought about it much. It's just a refactor that establishes a
consistent handling of scopes for now.
https://github.com/llvm/llvm-project/pull/198250
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits