[llvm] AMDGPU: Use list-table for metadata table (PR #85024)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 23:33:54 PDT 2024
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/85024
The table syntax for sphinx is really insufferably whitespace dependent. I've been meaning to convert the existing attribute and intrinsic tables to use list-table, which is less painful to merge.
>From f14acdb9dec69468037b9b8ab4158064c0415b94 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Wed, 13 Mar 2024 11:58:44 +0530
Subject: [PATCH] AMDGPU: Use list-table for metadata table
The table syntax for sphinx is really insufferably whitespace dependent.
I've been meaning to convert the existing attribute and intrinsic tables
to use list-table, which is less painful to merge.
---
llvm/docs/AMDGPUUsage.rst | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index 99d7a482710f5e..dd2c24e4eedd00 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1317,15 +1317,16 @@ LLVM IR Metadata
The AMDGPU backend implements the following LLVM IR metadata.
-.. table:: AMDGPU LLVM IR Metadata
+.. list-table:: AMDGPU LLVM IR Metatdata
:name: amdgpu-llvm-ir-metadata-table
-
- ============================================== ==========================================================
- LLVM IR Metadata Description
- ============================================== ==========================================================
- !amdgpu.last.use Sets TH_LOAD_LU temporal hint on load instructions that support it.
- Takes priority over nontemporal hint (TH_LOAD_NT).
- ============================================== ==========================================================
+ * - Metadata Name
+ - Description
+ - Values
+
+ * - !amdgpu.last.use
+ - Sets TH_LOAD_LU temporal hint on load instructions that support it.
+ Takes priority over nontemporal hint (TH_LOAD_NT).
+ - {}
LLVM IR Attributes
------------------
More information about the llvm-commits
mailing list