[llvm-branch-commits] [clang] [lld] [llvm] [mlir] [RFC][AMDGPU] Add BARRIER address space (PR #195613)
Sameer Sahasrabuddhe via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 22 02:33:34 PDT 2026
================
@@ -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
More information about the llvm-branch-commits
mailing list