[llvm] 5933589 - [GISel][Docs] Add a little bit of documentation for G_FENCE. (#73722)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 28 18:57:24 PST 2023
Author: Craig Topper
Date: 2023-11-28T18:57:20-08:00
New Revision: 593358937025e8635f75ba8931130b1ca5212ea1
URL: https://github.com/llvm/llvm-project/commit/593358937025e8635f75ba8931130b1ca5212ea1
DIFF: https://github.com/llvm/llvm-project/commit/593358937025e8635f75ba8931130b1ca5212ea1.diff
LOG: [GISel][Docs] Add a little bit of documentation for G_FENCE. (#73722)
Added:
Modified:
llvm/docs/GlobalISel/GenericOpcode.rst
Removed:
################################################################################
diff --git a/llvm/docs/GlobalISel/GenericOpcode.rst b/llvm/docs/GlobalISel/GenericOpcode.rst
index 6c42ddcaff1eccf..26ff34376fb838c 100644
--- a/llvm/docs/GlobalISel/GenericOpcode.rst
+++ b/llvm/docs/GlobalISel/GenericOpcode.rst
@@ -751,9 +751,10 @@ operands.
G_FENCE
^^^^^^^
-.. caution::
+Generic fence. The first operand is the memory ordering. The second operand is
+the syncscope.
- I couldn't find any documentation on this at the time of writing.
+See the LLVM LangRef entry on the '``fence'`` instruction for more details.
G_MEMCPY
^^^^^^^^
More information about the llvm-commits
mailing list