[Mlir-commits] [mlir] 6d23463 - [docs][mlir] Fix broken links in 'llvm' dialects. (#88704)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Apr 15 15:13:42 PDT 2024
Author: Fr4nk1in
Date: 2024-04-16T00:13:38+02:00
New Revision: 6d234638f90bd422078c93745bdee73d6de201bf
URL: https://github.com/llvm/llvm-project/commit/6d234638f90bd422078c93745bdee73d6de201bf
DIFF: https://github.com/llvm/llvm-project/commit/6d234638f90bd422078c93745bdee73d6de201bf.diff
LOG: [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.
Added:
Modified:
mlir/docs/Dialects/LLVM.md
Removed:
################################################################################
diff --git a/mlir/docs/Dialects/LLVM.md b/mlir/docs/Dialects/LLVM.md
index a49ba35db9a68f..ba466aa6bc4012 100644
--- a/mlir/docs/Dialects/LLVM.md
+++ b/mlir/docs/Dialects/LLVM.md
@@ -139,12 +139,12 @@ will be reevaluated after considering composite constants.
### Globals
Global variables are also defined using a special operation,
-[`llvm.mlir.global`](#llvmmlirglobal-mlirllvmglobalop), located at the module
+[`llvm.mlir.global`](#llvmmlirglobal-llvmglobalop), located at the module
level. Globals are MLIR symbols and are identified by their name.
Since functions need to be isolated-from-above, i.e. values defined outside the
function cannot be directly used inside the function, an additional operation,
-[`llvm.mlir.addressof`](#llvmmliraddressof-mlirllvmaddressofop), is provided to
+[`llvm.mlir.addressof`](#llvmmliraddressof-llvmaddressofop), is provided to
locally define a value containing the _address_ of a global. The actual value
can then be loaded from that pointer, or a new value can be stored into it if
the global is not declared constant. This is similar to LLVM IR where globals
More information about the Mlir-commits
mailing list