Skip to content

Commit 5ea5298

Browse files
PragmaTwiceDanielCChen
authored andcommitted
[mlir][docs] Fix broken links in PDLL.md (llvm#107965)
`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.
1 parent c77bb23 commit 5ea5298

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mlir/docs/PDLL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ writing pattern rewrites targeting MLIR.
55

66
Note: This document assumes a familiarity with MLIR concepts; more specifically
77
the concepts detailed within the
8-
[MLIR Pattern Rewriting](https://mlir.llvm.org/docs/PatternRewriter/) and
9-
[Operation Definition Specification (ODS)](https://mlir.llvm.org/docs/OpDefinitions/)
8+
[MLIR Pattern Rewriting](PatternRewriter.md) and
9+
[Operation Definition Specification (ODS)](DefiningDialects/Operations.md)
1010
documentation.
1111

1212
[TOC]
@@ -34,11 +34,11 @@ that no longer exist.
3434
### Why build a new language instead of improving TableGen DRR?
3535

3636
Note: This section assumes familiarity with
37-
[TDRR](https://mlir.llvm.org/docs/DeclarativeRewrites/), please refer the
37+
[TDRR](DeclarativeRewrites.md), please refer the
3838
relevant documentation before continuing.
3939

4040
Tablegen DRR (TDRR), i.e.
41-
[Table-driven Declarative Rewrite Rules](https://mlir.llvm.org/docs/DeclarativeRewrites/),
41+
[Table-driven Declarative Rewrite Rules](DeclarativeRewrites.md),
4242
is a declarative DSL for defining MLIR pattern rewrites within the
4343
[TableGen](https://llvm.org/docs/TableGen/index.html) language. This
4444
infrastructure is currently the main way in which patterns may be defined
@@ -257,7 +257,7 @@ the current file.
257257
#### `.td` includes
258258

259259
When including a `.td` file, PDLL will automatically import any pertinent
260-
[ODS](https://mlir.llvm.org/docs/OpDefinitions/) information within that file.
260+
[ODS](DefiningDialects/Operations.md) information within that file.
261261
This includes any defined operations, constraints, interfaces, and more, making
262262
them implicitly accessible within PDLL. This is important, as ODS information
263263
allows for certain PDLL constructs, such as the

0 commit comments

Comments
 (0)