Skip to content

Commit 5c3d001

Browse files
authored
AMDGPU: Don't use table for metadata docs, and fix section headers (#85046)
1 parent 9e406ef commit 5c3d001

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,24 +1312,30 @@ The AMDGPU backend implements the following LLVM IR intrinsics.
13121312

13131313
List AMDGPU intrinsics.
13141314

1315+
.. _amdgpu_metadata:
1316+
13151317
LLVM IR Metadata
1316-
------------------
1318+
================
1319+
1320+
The AMDGPU backend implements the following target custom LLVM IR
1321+
metadata.
1322+
1323+
.. _amdgpu_last_use:
13171324

1318-
The AMDGPU backend implements the following LLVM IR metadata.
1325+
'``amdgpu.last.use``' Metadata
1326+
------------------------------
1327+
1328+
Sets TH_LOAD_LU temporal hint on load instructions that support it.
1329+
Takes priority over nontemporal hint (TH_LOAD_NT). This takes no
1330+
arguments.
1331+
1332+
.. code-block:: llvm
13191333

1320-
.. list-table:: AMDGPU LLVM IR Metatdata
1321-
:name: amdgpu-llvm-ir-metadata-table
1334+
%val = load i32, ptr %in, align 4, !amdgpu.last.use !{}
13221335

1323-
* - Metadata Name
1324-
- Description
1325-
- Values
1326-
* - !amdgpu.last.use
1327-
- Sets TH_LOAD_LU temporal hint on load instructions that support it.
1328-
Takes priority over nontemporal hint (TH_LOAD_NT).
1329-
- {}
13301336

13311337
LLVM IR Attributes
1332-
------------------
1338+
==================
13331339

13341340
The AMDGPU backend supports the following LLVM IR attributes.
13351341

@@ -1451,7 +1457,7 @@ The AMDGPU backend supports the following LLVM IR attributes.
14511457
======================================= ==========================================================
14521458

14531459
Calling Conventions
1454-
-------------------
1460+
===================
14551461

14561462
The AMDGPU backend supports the following calling conventions:
14571463

0 commit comments

Comments
 (0)