[llvm-branch-commits] [clang] [llvm] [mlir] [RFC][AMDGPU] Add BARRIER address space (PR #195613)
Shilei Tian via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon May 11 06:16:37 PDT 2026
================
@@ -1139,6 +1140,23 @@ supported for the ``amdgcn`` target.
a buffer strided pointer, this means that the base pointer is ``align(4)``, that
the offset is a multiple of 4 bytes, and that the stride is a multiple of 4.
+**Barrier**
+ This address space represents barrier IDs (introduced in GFX12) as addresses.
+ It does not map directly to any addressable memory, thus pointers into this address space:
+
+ * Never alias with any other pointers outside this address space.
+ * Cannot be dereferenced.
----------------
shiltian wrote:
need sema test for this
https://github.com/llvm/llvm-project/pull/195613
More information about the llvm-branch-commits
mailing list