[Mlir-commits] [mlir] [mlir][docs] Fix broken links in PDLL.md (PR #107965)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Sep 9 20:49:50 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Twice (PragmaTwice)
<details>
<summary>Changes</summary>
`https://mlir.llvm.org/docs/OpDefinitions/` has already been moved (as a broken link now).
Here it's fixed to the form of relative reference `DefiningDialects/Operations.md` along with other links.
---
Full diff: https://github.com/llvm/llvm-project/pull/107965.diff
1 Files Affected:
- (modified) mlir/docs/PDLL.md (+5-5)
``````````diff
diff --git a/mlir/docs/PDLL.md b/mlir/docs/PDLL.md
index f5651156a860ca..ee1b615a2dcdee 100644
--- a/mlir/docs/PDLL.md
+++ b/mlir/docs/PDLL.md
@@ -5,8 +5,8 @@ writing pattern rewrites targeting MLIR.
Note: This document assumes a familiarity with MLIR concepts; more specifically
the concepts detailed within the
-[MLIR Pattern Rewriting](https://mlir.llvm.org/docs/PatternRewriter/) and
-[Operation Definition Specification (ODS)](https://mlir.llvm.org/docs/OpDefinitions/)
+[MLIR Pattern Rewriting](PatternRewriter.md) and
+[Operation Definition Specification (ODS)](DefiningDialects/Operations.md)
documentation.
[TOC]
@@ -34,11 +34,11 @@ that no longer exist.
### Why build a new language instead of improving TableGen DRR?
Note: This section assumes familiarity with
-[TDRR](https://mlir.llvm.org/docs/DeclarativeRewrites/), please refer the
+[TDRR](DeclarativeRewrites.md), please refer the
relevant documentation before continuing.
Tablegen DRR (TDRR), i.e.
-[Table-driven Declarative Rewrite Rules](https://mlir.llvm.org/docs/DeclarativeRewrites/),
+[Table-driven Declarative Rewrite Rules](DeclarativeRewrites.md),
is a declarative DSL for defining MLIR pattern rewrites within the
[TableGen](https://llvm.org/docs/TableGen/index.html) language. This
infrastructure is currently the main way in which patterns may be defined
@@ -257,7 +257,7 @@ the current file.
#### `.td` includes
When including a `.td` file, PDLL will automatically import any pertinent
-[ODS](https://mlir.llvm.org/docs/OpDefinitions/) information within that file.
+[ODS](DefiningDialects/Operations.md) information within that file.
This includes any defined operations, constraints, interfaces, and more, making
them implicitly accessible within PDLL. This is important, as ODS information
allows for certain PDLL constructs, such as the
``````````
</details>
https://github.com/llvm/llvm-project/pull/107965
More information about the Mlir-commits
mailing list