Skip to content

Commit 433683a

Browse files
committed
Fix doc build
1 parent c916c24 commit 433683a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/docs/LangRef.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8031,13 +8031,14 @@ attached to memory instructions, including :ref:`atomicrmw
80318031
<i_atomicrmw>`, :ref:`cmpxchg <i_cmpxchg>`, and :ref:`call <i_call>`
80328032
instructions.
80338033

8034-
This follows the same form as :ref:`range metadata <_range-metadata>`,
8034+
This follows the same form as :ref:`range metadata <range-metadata>`,
80358035
except the field entries must be of type `i32`. The interpretation is
80368036
the same numeric address spaces as applied to IR values.
80378037

80388038
Example:
80398039

80408040
.. code-block:: llvm
8041+
80418042
; %ptr cannot point to an object allocated in addrspace(5)
80428043
%rmw.valid = atomicrmw and ptr %ptr, i64 %value seq_cst, !noalias.addrspace !0
80438044

0 commit comments

Comments
 (0)