[llvm] cd2f616 - AMDGPU: Use list-table for metadata table (#85024)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 00:12:20 PDT 2024
Author: Matt Arsenault
Date: 2024-03-13T12:42:15+05:30
New Revision: cd2f6163137dce45d909aa445cfd57b7188f8ed1
URL: https://github.com/llvm/llvm-project/commit/cd2f6163137dce45d909aa445cfd57b7188f8ed1
DIFF: https://github.com/llvm/llvm-project/commit/cd2f6163137dce45d909aa445cfd57b7188f8ed1.diff
LOG: AMDGPU: Use list-table for metadata table (#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.
Added:
Modified:
llvm/docs/AMDGPUUsage.rst
Removed:
################################################################################
diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index 99d7a482710f5e..fd9ad7fac19a95 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