[Mlir-commits] [mlir] [mlir][docs] Fix typo: 'DDR' → 'DRR' in Creating a Dialect tutorial (PR #161967)

Joseph Bak llvmlistbot at llvm.org
Sat Oct 4 12:16:55 PDT 2025


https://github.com/josephbak created https://github.com/llvm/llvm-project/pull/161967

Fixes a small typo in the Creating a Dialect tutorial.

The rewrite rules format should be DRR (Declarative Rewrite Rules), not DDR.

>From 3b91b86cb595c561abb4fabbfbbf3778f8233115 Mon Sep 17 00:00:00 2001
From: Joseph Bak <joseph.bak31415 at gmail.com>
Date: Sat, 4 Oct 2025 15:12:49 -0400
Subject: [PATCH] =?UTF-8?q?[mlir][docs]=20Fix=20typo:=20'DDR'=20=E2=86=92?=
 =?UTF-8?q?=20'DRR'=20in=20Creating=20a=20Dialect=20tutorial?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mlir/docs/Tutorials/CreatingADialect.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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”,



More information about the Mlir-commits mailing list