[Mlir-commits] [mlir] [mlir][doc] Fix typo in Ch6 tutorial: 'toy.cpp' → 'toyc.cpp' (PR #161245)
Joseph Bak
llvmlistbot at llvm.org
Mon Sep 29 10:37:26 PDT 2025
https://github.com/josephbak created https://github.com/llvm/llvm-project/pull/161245
This patch fixes a documentation typo in the MLIR Toy tutorial (Ch6).
The tutorial currently refers to `examples/toy/Ch6/toy.cpp`, but the correct
file name is `examples/toy/Ch6/toyc.cpp`.
Without this change, users following the tutorial may encounter confusion
when trying to locate the file.
No functional changes.
>From 36ebc6392228fb756f711b6bef079018582f410e Mon Sep 17 00:00:00 2001
From: Joseph Bak <joseph.bak31415 at gmail.com>
Date: Mon, 29 Sep 2025 13:22:34 -0400
Subject: [PATCH] =?UTF-8?q?[mlir][doc]=20Fix=20typo=20in=20Ch6=20tutorial:?=
=?UTF-8?q?=20'toy.cpp'=20=E2=86=92=20'toyc.cpp'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
mlir/docs/Tutorials/Toy/Ch-6.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/docs/Tutorials/Toy/Ch-6.md b/mlir/docs/Tutorials/Toy/Ch-6.md
index 529de55304206..178c07338ac45 100644
--- a/mlir/docs/Tutorials/Toy/Ch-6.md
+++ b/mlir/docs/Tutorials/Toy/Ch-6.md
@@ -245,7 +245,7 @@ define void @main()
```
The full code listing for dumping LLVM IR can be found in
-`examples/toy/Ch6/toy.cpp` in the `dumpLLVMIR()` function:
+`examples/toy/Ch6/toyc.cpp` in the `dumpLLVMIR()` function:
```c++
More information about the Mlir-commits
mailing list