Skip to content

Commit 267beb1

Browse files
author
mlevesquedion
authored
[MLIR] Fix a few links to passes in the documentation (llvm#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 ```
1 parent c2b9529 commit 267beb1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

mlir/docs/PassManagement.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ By default, an operation pass is `op-agnostic`, meaning that it operates on the
5656
operation type of the pass manager that it is added to. This means a pass may operate
5757
on many different types of operations. Agnostic passes should be written such that
5858
they do not make assumptions on the operation they run on. Examples of this type of pass are
59-
[Canonicalization](Pass.md/-canonicalize-canonicalize-operations)
60-
[Common Sub-Expression Elimination](Passes.md/#-cse-eliminate-common-sub-expressions).
59+
[Canonicalization](Passes.md/#-canonicalize) and [Common Sub-Expression Elimination](Passes.md/#-cse).
6160

6261
To create an agnostic operation pass, a derived class must adhere to the following:
6362

mlir/docs/PatternRewriter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ Note: This driver listens for IR changes via the callbacks provided by
366366
rewriter and do not bypass the rewriter API by modifying ops directly.
367367

368368
Note: This driver is the one used by the [canonicalization](Canonicalization.md)
369-
[pass](Passes.md/#-canonicalize-canonicalize-operations) in MLIR.
369+
[pass](Passes.md/#-canonicalize) in MLIR.
370370

371371
### Debugging
372372

0 commit comments

Comments
 (0)