[Mlir-commits] [mlir] [mlir] Fix node numbering order in SliceMatchers example (PR #155684)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Aug 27 12:40:48 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Denzel-Brian Budii (chios202)

<details>
<summary>Changes</summary>

After reviewing this again, it looks like I missed some nodes.

---
Full diff: https://github.com/llvm/llvm-project/pull/155684.diff


1 Files Affected:

- (modified) mlir/include/mlir/Query/Matcher/SliceMatchers.h (+1-1) 


``````````diff
diff --git a/mlir/include/mlir/Query/Matcher/SliceMatchers.h b/mlir/include/mlir/Query/Matcher/SliceMatchers.h
index 7181648f06f89..e291bf76e09ef 100644
--- a/mlir/include/mlir/Query/Matcher/SliceMatchers.h
+++ b/mlir/include/mlir/Query/Matcher/SliceMatchers.h
@@ -36,7 +36,7 @@
 ///              9
 ///
 /// Assuming all local orders match the numbering order:
-///     {5, 7, 6, 8, 9}
+///     {1, 5, 6, 7, 6, 8, 9}
 namespace mlir::query::matcher {
 
 template <typename Matcher>

``````````

</details>


https://github.com/llvm/llvm-project/pull/155684


More information about the Mlir-commits mailing list