[llvm] cfca229 - AMDGPU: Add and clarify reserved address spaces (#166486)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 17:57:58 PST 2025


Author: Nicolai Hähnle
Date: 2025-11-05T01:57:54Z
New Revision: cfca2297822de682daf53124d3ca5a55fb3bfee4

URL: https://github.com/llvm/llvm-project/commit/cfca2297822de682daf53124d3ca5a55fb3bfee4
DIFF: https://github.com/llvm/llvm-project/commit/cfca2297822de682daf53124d3ca5a55fb3bfee4.diff

LOG: AMDGPU: Add and clarify reserved address spaces (#166486)

Address spaces 10 and 11 are reserved for future use in the sense that
we plain to upstream their use.

Address space 12 is used by LLPC. It is used in a workaround for an
issue with SMEM accesses to PRT buffers that is specific to the LLPC
ecosystem and makes no sense to upstream.

Added: 
    

Modified: 
    llvm/docs/AMDGPUUsage.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index 7780c0a6dca0a..30b22a4a6d607 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -883,8 +883,9 @@ supported for the ``amdgcn`` target.
      Buffer Fat Pointer                    7               N/A         N/A              160     0
      Buffer Resource                       8               N/A         V#               128     0x00000000000000000000000000000000
      Buffer Strided Pointer (experimental) 9               *TODO*
-     *reserved for downstream use*         10
-     *reserved for downstream use*         11
+     *reserved for future use*             10
+     *reserved for future use*             11
+     *reserved for downstream use (LLPC)*  12
      Streamout Registers                   128             N/A         GS_REGS
      ===================================== =============== =========== ================ ======= ============================
 


        


More information about the llvm-commits mailing list