[Mlir-commits] [mlir] [mlir][vector] Update `CombineContractBroadcastMask` (PR #140050)

Diego Caballero llvmlistbot at llvm.org
Mon May 19 23:04:48 PDT 2025


dcaballe wrote:

> A more robust solution may involve simplifying the input earlier.

It really looks like the pattern is trying to do an in-place simplification that should have happened before and adding some complexity to achieve that. Would it possible to just reject these cases in the pattern when the broadcasts to be folded are actually "no-ops"? This is pointing at "we need to remove unnecessary unit dims before calling this pattern" kind of requirement...

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


More information about the Mlir-commits mailing list