Skip to content

Commit ae1aa5b

Browse files
committed
Try to make the synscope table clearer
1 parent 3734fe2 commit ae1aa5b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14251,6 +14251,13 @@ See ``WGP_MODE`` field in
1425114251
The code sequences used to implement the memory model for GFX12 are defined in
1425214252
table :ref:`amdgpu-amdhsa-memory-model-code-sequences-gfx12-table`.
1425314253

14254+
The mapping of LLVM IR syncscope to GFX12 instruction ``scope`` operands is
14255+
defined in :ref:`amdgpu-amdhsa-memory-model-code-sequences-gfx12-scopes-table`.
14256+
14257+
The table only applies if and only if it is directly referenced by an entry in
14258+
:ref:`amdgpu-amdhsa-memory-model-code-sequences-gfx12-table`, and it only applies to
14259+
the instruction in the code sequence that references the table.
14260+
1425414261
.. table:: AMDHSA Memory Model Code Sequences GFX12 - Instruction Scopes
1425514262
:name: amdgpu-amdhsa-memory-model-code-sequences-gfx12-scopes-table
1425614263

@@ -14273,9 +14280,6 @@ table :ref:`amdgpu-amdhsa-memory-model-code-sequences-gfx12-table`.
1427314280
singlethread-one-as *none* *none*
1427414281
=================== =================== ===================
1427514282

14276-
NOTE: The table above applies if and only if it is explicitly referenced by
14277-
a code sequence in :ref:`amdgpu-amdhsa-memory-model-code-sequences-gfx12-table`.
14278-
1427914283
.. table:: AMDHSA Memory Model Code Sequences GFX12
1428014284
:name: amdgpu-amdhsa-memory-model-code-sequences-gfx12-table
1428114285

0 commit comments

Comments
 (0)