[llvm] Update documentation for buffer fat pointers (PR #92034)

Krzysztof Drewniak via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 14:26:16 PDT 2024


https://github.com/krzysz00 created https://github.com/llvm/llvm-project/pull/92034

Now that we've got (minus some issues around datatypes and invariant loads) working lowerings for address space 7, update the table in the AMDGPU usage guide to proerly indicate the nature of these address spaces.

>From 2a84d652c016366e340d47476509ef84c7a56d1b Mon Sep 17 00:00:00 2001
From: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: Mon, 13 May 2024 21:23:47 +0000
Subject: [PATCH] Update documentation for buffer fat pointers

Now that we've got (minus some issues around datatypes and invariant
loads) working lowerings for address space 7, update the table in
the AMDGPU usage guide to proerly indicate the nature of these address
spaces.
---
 llvm/docs/AMDGPUUsage.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index 029db00134c09..edf58b562a449 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -824,8 +824,8 @@ supported for the ``amdgcn`` target.
      Constant                              4               constant    *same as global* 64      0x0000000000000000
      Private                               5               private     scratch          32      0xFFFFFFFF
      Constant 32-bit                       6               *TODO*                               0x00000000
-     Buffer Fat Pointer (experimental)     7               *TODO*
-     Buffer Resource (experimental)        8               *TODO*
+     Buffer Fat Pointer                    7               N/A         N/A              160     0
+     Buffer Resource                       8               N/A         V#               128     0x00000000000000000000000000000000
      Buffer Strided Pointer (experimental) 9               *TODO*
      Streamout Registers                   128             N/A         GS_REGS
      ===================================== =============== =========== ================ ======= ============================



More information about the llvm-commits mailing list