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

Denzel-Brian Budii llvmlistbot at llvm.org
Wed Aug 27 12:40:16 PDT 2025


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

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

>From 41d01a759a1e2034473539f4655fada6d0dfda25 Mon Sep 17 00:00:00 2001
From: Denzel-Brian Budii <chio.star at yahoo.com>
Date: Wed, 27 Aug 2025 19:33:47 +0000
Subject: [PATCH] Fix node order for SliceMatchers

---
 mlir/include/mlir/Query/Matcher/SliceMatchers.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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>



More information about the Mlir-commits mailing list