Skip to content

Commit fa120ff

Browse files
joker-ephmahesh-attarde
authored andcommitted
[MLIR] Improve tutorial to make it clear that walk() is visiting the root op (NFC)
1 parent d95bc10 commit fa120ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/docs/Tutorials/UnderstandingTheIRStructure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ inside a single block (or a single region), however it is frequently interesting
178178
to traverse the IR in a nested fashion. To this end MLIR exposes the `walk()`
179179
helper on `Operation`, `Block`, and `Region`. This helper takes a single
180180
argument: a callback method that will be invoked for every operation recursively
181-
nested under the provided entity.
181+
nested under the provided entity (as well as this initial operation).
182182
183183
```c++
184184
// Recursively traverse all the regions and blocks nested inside the function

0 commit comments

Comments
 (0)