aboutsummaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authormlevesquedion <mlevesquedion@google.com>2024-02-27 21:31:15 -0800
committerGitHub <noreply@github.com>2024-02-27 21:31:15 -0800
commit267beb10f2812107734a1cd2172b46e928af76b7 (patch)
treeb3dfab84952a0f3b7dc133916cd5a32631785915 /mlir
parentc2b952926fe8707527cf1b8bab211dc4c7ab9aee (diff)
downloadllvm-267beb10f2812107734a1cd2172b46e928af76b7.zip
llvm-267beb10f2812107734a1cd2172b46e928af76b7.tar.gz
llvm-267beb10f2812107734a1cd2172b46e928af76b7.tar.bz2
[MLIR] Fix a few links to passes in the documentation (#83221)
I double checked the links by building [the website](https://github.com/llvm/mlir-www): ``` $ mlir-www-helper.sh --install-docs ../llvm-project website $ cd website && hugo serve ```
Diffstat (limited to 'mlir')
-rw-r--r--mlir/docs/PassManagement.md3
-rw-r--r--mlir/docs/PatternRewriter.md2
2 files changed, 2 insertions, 3 deletions
diff --git a/mlir/docs/PassManagement.md b/mlir/docs/PassManagement.md
index ff86bbf..c9d705f 100644
--- a/mlir/docs/PassManagement.md
+++ b/mlir/docs/PassManagement.md
@@ -56,8 +56,7 @@ By default, an operation pass is `op-agnostic`, meaning that it operates on the
operation type of the pass manager that it is added to. This means a pass may operate
on many different types of operations. Agnostic passes should be written such that
they do not make assumptions on the operation they run on. Examples of this type of pass are
-[Canonicalization](Pass.md/-canonicalize-canonicalize-operations)
-[Common Sub-Expression Elimination](Passes.md/#-cse-eliminate-common-sub-expressions).
+[Canonicalization](Passes.md/#-canonicalize) and [Common Sub-Expression Elimination](Passes.md/#-cse).
To create an agnostic operation pass, a derived class must adhere to the following:
diff --git a/mlir/docs/PatternRewriter.md b/mlir/docs/PatternRewriter.md
index 011cd14..0ba7619 100644
--- a/mlir/docs/PatternRewriter.md
+++ b/mlir/docs/PatternRewriter.md
@@ -366,7 +366,7 @@ Note: This driver listens for IR changes via the callbacks provided by
rewriter and do not bypass the rewriter API by modifying ops directly.
Note: This driver is the one used by the [canonicalization](Canonicalization.md)
-[pass](Passes.md/#-canonicalize-canonicalize-operations) in MLIR.
+[pass](Passes.md/#-canonicalize) in MLIR.
### Debugging