[Mlir-commits] [mlir] [Vector] Add folder for select(pred, true, false) -> broadcast(pred) (PR #147934)

Mehdi Amini llvmlistbot at llvm.org
Thu Jul 10 03:48:46 PDT 2025


joker-eph wrote:

Ouch, we're suffering that the vector type is disconnected from the vector dialect.
Same issue with the tensor type: in general I think that we always have this kind of issue when we decouple types and the operations on this type.

Here the main concern I have is that running a pass pipeline `passA, passB` would not be the same as running a pipeline with `passA`  followed by a pipeline with `passB`. 
(this may already exists in other cases, but for such canonicalization involving builtin types, it's very visible).

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


More information about the Mlir-commits mailing list