aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-11-28 18:57:20 -0800
committerGitHub <noreply@github.com>2023-11-28 18:57:20 -0800
commit593358937025e8635f75ba8931130b1ca5212ea1 (patch)
treee7078da9bc8a177b2bc4fa0ff76b62f4f5e8d0f9
parent81e3e7e5d455f85e070a27763c578df493716ae9 (diff)
downloadllvm-593358937025e8635f75ba8931130b1ca5212ea1.zip
llvm-593358937025e8635f75ba8931130b1ca5212ea1.tar.gz
llvm-593358937025e8635f75ba8931130b1ca5212ea1.tar.bz2
[GISel][Docs] Add a little bit of documentation for G_FENCE. (#73722)
-rw-r--r--llvm/docs/GlobalISel/GenericOpcode.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/GlobalISel/GenericOpcode.rst b/llvm/docs/GlobalISel/GenericOpcode.rst
index 6c42ddc..26ff343 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
^^^^^^^^