@@ -5,8 +5,8 @@ writing pattern rewrites targeting MLIR.
55
66Note: This document assumes a familiarity with MLIR concepts; more specifically
77the 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 )
1010documentation.
1111
1212[ TOC]
@@ -34,11 +34,11 @@ that no longer exist.
3434### Why build a new language instead of improving TableGen DRR?
3535
3636Note: This section assumes familiarity with
37- [ TDRR] ( https://mlir.llvm.org/docs/ DeclarativeRewrites/ ) , please refer the
37+ [ TDRR] ( DeclarativeRewrites.md ) , please refer the
3838relevant documentation before continuing.
3939
4040Tablegen DRR (TDRR), i.e.
41- [ Table-driven Declarative Rewrite Rules] ( https://mlir.llvm.org/docs/ DeclarativeRewrites/ ) ,
41+ [ Table-driven Declarative Rewrite Rules] ( DeclarativeRewrites.md ) ,
4242is a declarative DSL for defining MLIR pattern rewrites within the
4343[ TableGen] ( https://llvm.org/docs/TableGen/index.html ) language. This
4444infrastructure is currently the main way in which patterns may be defined
@@ -257,7 +257,7 @@ the current file.
257257#### ` .td ` includes
258258
259259When 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.
261261This includes any defined operations, constraints, interfaces, and more, making
262262them implicitly accessible within PDLL. This is important, as ODS information
263263allows for certain PDLL constructs, such as the
@@ -745,7 +745,7 @@ Within the `{}` attribute entries are specified by an identifier or string name,
745745corresponding to the attribute name, followed by an assignment to the attribute
746746value. If the attribute value is elided, the value of the attribute is
747747implicitly defined as a
748- [ ` UnitAttr ` ] ( https://mlir.llvm.org/docs/ Dialects/Builtin/ #unitattr) .
748+ [ ` UnitAttr ` ] ( Dialects/Builtin.md #unitattr ) .
749749
750750``` pdll
751751let unitConstant = op<my_dialect.constant> {value};
0 commit comments