File tree 1 file changed +19
-13
lines changed 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -1312,24 +1312,30 @@ The AMDGPU backend implements the following LLVM IR intrinsics.
1312
1312
1313
1313
List AMDGPU intrinsics.
1314
1314
1315
+ .. _amdgpu_metadata:
1316
+
1315
1317
LLVM IR Metadata
1316
- ------------------
1318
+ ================
1319
+
1320
+ The AMDGPU backend implements the following target custom LLVM IR
1321
+ metadata.
1322
+
1323
+ .. _amdgpu_last_use:
1317
1324
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
1319
1333
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 !{}
1322
1335
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
- - {}
1330
1336
1331
1337
LLVM IR Attributes
1332
- ------------------
1338
+ ==================
1333
1339
1334
1340
The AMDGPU backend supports the following LLVM IR attributes.
1335
1341
@@ -1451,7 +1457,7 @@ The AMDGPU backend supports the following LLVM IR attributes.
1451
1457
======================================= ==========================================================
1452
1458
1453
1459
Calling Conventions
1454
- -------------------
1460
+ ===================
1455
1461
1456
1462
The AMDGPU backend supports the following calling conventions:
1457
1463
You can’t perform that action at this time.
0 commit comments