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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Aug 29 23:34:53 PDT 2025


Author: Denzel-Brian Budii
Date: 2025-08-29T23:34:49-07:00
New Revision: 257975fada8bb40f729976a9caa06d2bbb4e9f12

URL: https://github.com/llvm/llvm-project/commit/257975fada8bb40f729976a9caa06d2bbb4e9f12
DIFF: https://github.com/llvm/llvm-project/commit/257975fada8bb40f729976a9caa06d2bbb4e9f12.diff

LOG: [mlir] Fix node numbering order in SliceMatchers example (#155684)

After reviewing this again, it looks like I missed some nodes. Node 7
uses node 1 and 5 as well.

Added: 
    

Modified: 
    mlir/include/mlir/Query/Matcher/SliceMatchers.h

Removed: 
    


################################################################################
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