[Mlir-commits] [mlir] [mlir] Improve mlir-query by adding matcher combinators (PR #141423)

Denzel-Brian Budii llvmlistbot at llvm.org
Mon Jun 9 07:37:25 PDT 2025


chios202 wrote:

> Nice, I like it. I was thikning the any/all would be on the predicates rather than matchers, but I think it looks quite natural with it.

It could be used either to compute the union of one or more slices, but one could also use the following: `getForwardSlice(anyOf(...), anyOf(...))` as https://github.com/llvm/llvm-project/pull/141423/files#diff-f5ea7ba21e96422b00acd02f9dc50e259a9a37c022ec5a1bfcd08fbaf1f817f6R1 illsutrates.

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


More information about the Mlir-commits mailing list