[llvm-branch-commits] [clang] [lld] [llvm] [mlir] [RFC][AMDGPU] Add BARRIER address space (PR #195613)

Fabian Ritter via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 1 06:15:20 PDT 2026


================
@@ -1304,10 +1322,8 @@ Named barriers are fixed function hardware barrier objects that are available
 in gfx12.5+ in addition to the traditional default barriers.
 
 In LLVM IR, named barriers are represented by global variables of type
-``target("amdgcn.named.barrier", 0)`` in the LDS address space. Named barrier
-global variables do not occupy actual LDS memory, but their lifetime and
-allocation scope matches that of global variables in LDS. Programs in LLVM IR
-refer to named barriers using pointers.
+``target("amdgcn.named.barrier", 0)`` in the Execution Synchronization Resources
----------------
ritter-x2a wrote:

Should this refer to the "Barrier" address space now?

https://github.com/llvm/llvm-project/pull/195613


More information about the llvm-branch-commits mailing list