Skip to content

Conversation

@nhaehnle
Copy link
Collaborator

@nhaehnle nhaehnle commented Nov 5, 2025

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.

commit-id:707231b4

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.

commit-id:707231b4
@nhaehnle
Copy link
Collaborator Author

nhaehnle commented Nov 5, 2025

(no review expected)

@nhaehnle nhaehnle enabled auto-merge (squash) November 5, 2025 01:55
@llvmbot
Copy link
Member

llvmbot commented Nov 5, 2025

@llvm/pr-subscribers-backend-amdgpu

Author: Nicolai Hähnle (nhaehnle)

Changes

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.

commit-id:707231b4


Full diff: https://github.com/llvm/llvm-project/pull/166486.diff

1 Files Affected:

  • (modified) llvm/docs/AMDGPUUsage.rst (+3-2)
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
      ===================================== =============== =========== ================ ======= ============================
 

@nhaehnle nhaehnle merged commit cfca229 into llvm:main Nov 5, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants