[Mlir-commits] [mlir] [mlir][doc] Fix typo in Ch6 tutorial: 'toy.cpp' → 'toyc.cpp' (PR #161245)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Sep 29 10:38:18 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Joseph Bak (josephbak)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/161245.diff
1 Files Affected:
- (modified) mlir/docs/Tutorials/Toy/Ch-6.md (+1-1)
``````````diff
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++
``````````
</details>
https://github.com/llvm/llvm-project/pull/161245
More information about the Mlir-commits
mailing list