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

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


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

>From 985ff921c7a69c3e4e7baf98ceb6a35a33c695d9 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..43b699817927c 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, 8, 9}
 namespace mlir::query::matcher {
 
 template <typename Matcher>



More information about the Mlir-commits mailing list