From 593358937025e8635f75ba8931130b1ca5212ea1 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 28 Nov 2023 18:57:20 -0800 Subject: [PATCH] [GISel][Docs] Add a little bit of documentation for G_FENCE. (#73722) --- llvm/docs/GlobalISel/GenericOpcode.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/docs/GlobalISel/GenericOpcode.rst b/llvm/docs/GlobalISel/GenericOpcode.rst index 6c42ddcaff1ecc..26ff34376fb838 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 ^^^^^^^^