[Mlir-commits] [mlir] [mlir][docs] Fix typo: 'DDR' → 'DRR' in Creating a Dialect tutorial (PR #161967)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Oct 4 12:17:28 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Joseph Bak (josephbak)
<details>
<summary>Changes</summary>
Fixes a small typo in the Creating a Dialect tutorial.
The rewrite rules format should be DRR (Declarative Rewrite Rules), not DDR.
---
Full diff: https://github.com/llvm/llvm-project/pull/161967.diff
1 Files Affected:
- (modified) mlir/docs/Tutorials/CreatingADialect.md (+1-1)
``````````diff
diff --git a/mlir/docs/Tutorials/CreatingADialect.md b/mlir/docs/Tutorials/CreatingADialect.md
index af709fc46eff5..e30b80bc5207c 100644
--- a/mlir/docs/Tutorials/CreatingADialect.md
+++ b/mlir/docs/Tutorials/CreatingADialect.md
@@ -22,7 +22,7 @@ typically defined in FooDialect.cpp, which includes FooOps.cpp.inc and
FooOpsInterfaces.h.inc.
The 'Transforms' directory contains rewrite rules for the dialect,
-typically described in TableGen file using the [DDR
+typically described in TableGen file using the [DRR
format](../DeclarativeRewrites.md).
Note that dialect names should not generally be suffixed with “Ops”,
``````````
</details>
https://github.com/llvm/llvm-project/pull/161967
More information about the Mlir-commits
mailing list