================
@@ -11,8 +11,15 @@ __shared__ struct {
   __amdgpu_named_workgroup_barrier_t y;
 } str;
----------------
ssahasra wrote:

What happens if the user specifies the `__address_space__` attribute on such a 
declaration? Should Sema be aware that this type has a special address space, 
so that it can generate an appropriate error?

https://clang.llvm.org/docs/AttributeReference.html#address-space

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

Reply via email to