Skip to content

Commit 7d4d56e

Browse files
committed
fix comments
1 parent c5252cd commit 7d4d56e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mlir/docs/Tutorials/MlirOpt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ The first defines a function that counts the leading zeroes of a 32-bit integer
7171
using the [`math` dialect's](/docs/Dialects/MathOps/) `ctlz` operation.
7272

7373
```mlir
74+
// mlir/test/Examples/mlir-opt/ctlz.mlir
7475
func.func @main(%arg0: i32) -> i32 {
7576
%0 = math.ctlz %arg0 : i32
7677
func.return %0 : i32
@@ -110,6 +111,7 @@ The second program is a sequence of loops
110111
that exhibits poor cache locality.
111112

112113
```mlir
114+
// mlir/test/Examples/mlir-opt/loop_fusion.mlir
113115
func.func @producer_consumer_fusion(%arg0: memref<10xf32>, %arg1: memref<10xf32>) {
114116
%0 = memref.alloc() : memref<10xf32>
115117
%1 = memref.alloc() : memref<10xf32>
@@ -175,7 +177,7 @@ to generate LLVM-IR.
175177
Recall our ctlz program:
176178

177179
```mlir
178-
# mlir/test/Examples/mlir-opt/ctlz.mlir
180+
// mlir/test/Examples/mlir-opt/ctlz.mlir
179181
func.func @main(%arg0: i32) -> i32 {
180182
%0 = math.ctlz %arg0 : i32
181183
func.return %0 : i32

0 commit comments

Comments
 (0)