[Mlir-commits] [mlir] 6976dee - [mlir][docs] Fix broken links in PDLL.md (#107965)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Oct 12 10:32:19 PDT 2024
Author: Twice
Date: 2024-10-12T18:32:16+01:00
New Revision: 6976deebafa8e7de993ce159aa6b82c0e7089313
URL: https://github.com/llvm/llvm-project/commit/6976deebafa8e7de993ce159aa6b82c0e7089313
DIFF: https://github.com/llvm/llvm-project/commit/6976deebafa8e7de993ce159aa6b82c0e7089313.diff
LOG: [mlir][docs] Fix broken links in PDLL.md (#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.
Added:
Modified:
mlir/docs/PDLL.md
Removed:
################################################################################
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
More information about the Mlir-commits
mailing list