[Mlir-commits] [mlir] [mlir][vector] Fold vector extract from insert when trailing unit dims (PR #192109)

Diego Caballero llvmlistbot at llvm.org
Tue Apr 14 21:49:41 PDT 2026


dcaballe wrote:

The folding makes sense to me but I think we should generate a `vector.from_elements ... : vector<1xf32>`. We've been using that and insert/extract to cross the scalar/vector boundary and we have more folder/canonicalization patters on that front that could simplify the code further.

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


More information about the Mlir-commits mailing list