[Mlir-commits] [mlir] Fix a few links to passes documentation (PR #83221)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Feb 27 21:04:25 PST 2024
https://github.com/mlevesquedion created https://github.com/llvm/llvm-project/pull/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
```
>From 6875a71f667f7e75a15fdfeb4a42c62b811b6274 Mon Sep 17 00:00:00 2001
From: Michael Levesque-Dion <mlevesquedion at google.com>
Date: Tue, 27 Feb 2024 20:58:02 -0800
Subject: [PATCH] Fix a few links to passes documentation
---
mlir/docs/PassManagement.md | 3 +--
mlir/docs/PatternRewriter.md | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/mlir/docs/PassManagement.md b/mlir/docs/PassManagement.md
index ff86bbfef7b0bf..c9d705f0506a3e 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 011cd14175634b..0ba76199874cc3 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
More information about the Mlir-commits
mailing list