chios202 wrote: @jpienaar could you take another look? mlir-query MatchFinder now follows a similar design to clang-query's MatchFinder class and we now reuse the existing algorithm logic with a custom filter https://github.com/llvm/llvm-project/pull/115670