================
@@ -113,6 +118,46 @@ bool isReallyAClobber(const Value *Ptr, MemoryDef *Def, 
AAResults *AA);
 bool isClobberedInFunction(const LoadInst *Load, MemorySSA *MSSA,
                            AAResults *AA);
 
+/// The distinct address spaces supported by the AMDGPU target for
----------------
Pierre-vh wrote:

I am not sure that description is still accurate. e.g. SCRATCH doesn't support 
atomics unless we have GAS
Also this describes itself as being the AS that support atomic operations, but 
then there is the ATOMIC value that is different from ALL?

I think this is more like a "memory model address space mask" ? It's a mask of 
address space that we care about in the memory model. "SIMemoryModelASMask" 
doesn't roll of the tongue nicely though :D

https://github.com/llvm/llvm-project/pull/231854
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to