[llvm-branch-commits] [clang] [llvm] [mlir] [RFC][AMDGPU] Add BARRIER address space (PR #195613)
Jay Foad via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 6 08:28:49 PDT 2026
================
@@ -47,6 +46,14 @@ enum : unsigned {
BUFFER_STRIDED_POINTER = 9, ///< Address space for 192-bit fat buffer
///< pointers with an additional index.
+ RESERVED_0 = 10,
+ RESERVED_1 = 11,
+ RESERVED_2 = 12,
+ RESERVED_3 = 13,
+ RESERVED_4 = 14,
+
+ BARRIER = 15, ///< Address space for modeling barrier IDs as addresses.
----------------
jayfoad wrote:
I don't think it matters too much. Personally I would use low numbers for all address spaces. I think even using the high number 128 for STREAMOUT_REGISTER was unnecessary, it could have just used the next available low number.
https://github.com/llvm/llvm-project/pull/195613
More information about the llvm-branch-commits
mailing list