[Mlir-commits] [mlir] [Vector] Add canonicalization for select(pred, true, false) -> broadcast(pred) (PR #147934)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Thu Jul 10 09:08:30 PDT 2025
https://github.com/banach-space commented:
Thanks!
> Adds a canonicalization pattern for vector.broadcast to fold:
Hm, to me this is "rewriting" `arith.select` as `vector.broadcast` (as in, intuitively this isn't really folding). Why is `vector.broadcast` more desirable than `arith.select`?
Lets discuss this first - you can skip my other comments in the meantime.
https://github.com/llvm/llvm-project/pull/147934
More information about the Mlir-commits
mailing list