Skip to content

Commit 5933589

Browse files
authored
[GISel][Docs] Add a little bit of documentation for G_FENCE. (#73722)
1 parent 81e3e7e commit 5933589

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/docs/GlobalISel/GenericOpcode.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,9 +751,10 @@ operands.
751751
G_FENCE
752752
^^^^^^^
753753

754-
.. caution::
754+
Generic fence. The first operand is the memory ordering. The second operand is
755+
the syncscope.
755756

756-
I couldn't find any documentation on this at the time of writing.
757+
See the LLVM LangRef entry on the '``fence'`` instruction for more details.
757758

758759
G_MEMCPY
759760
^^^^^^^^

0 commit comments

Comments
 (0)