================
@@ -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).
----------------
shiltian wrote:
I understand this is the current behavior, though I wonder whether we should
error out instead,
https://github.com/llvm/llvm-project/pull/198250
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits