Skip to content

Commit 6d23463

Browse files
authored
[docs][mlir] Fix broken links in 'llvm' dialects. (#88704)
Links to `llvm.mlir.global` and `llvm.mlir.addressof` in the ["Globals" section of LLVM dialect documentation](https://mlir.llvm.org/docs/Dialects/LLVM/#globals) are broken.
1 parent 6331024 commit 6d23463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/docs/Dialects/LLVM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ will be reevaluated after considering composite constants.
139139
### Globals
140140

141141
Global variables are also defined using a special operation,
142-
[`llvm.mlir.global`](#llvmmlirglobal-mlirllvmglobalop), located at the module
142+
[`llvm.mlir.global`](#llvmmlirglobal-llvmglobalop), located at the module
143143
level. Globals are MLIR symbols and are identified by their name.
144144

145145
Since functions need to be isolated-from-above, i.e. values defined outside the
146146
function cannot be directly used inside the function, an additional operation,
147-
[`llvm.mlir.addressof`](#llvmmliraddressof-mlirllvmaddressofop), is provided to
147+
[`llvm.mlir.addressof`](#llvmmliraddressof-llvmaddressofop), is provided to
148148
locally define a value containing the _address_ of a global. The actual value
149149
can then be loaded from that pointer, or a new value can be stored into it if
150150
the global is not declared constant. This is similar to LLVM IR where globals

0 commit comments

Comments
 (0)