[Mlir-commits] [mlir] [mli][vector] canonicalize vector.from_elements from ascending extracts (PR #139819)

James Newling llvmlistbot at llvm.org
Mon Jun 2 08:08:02 PDT 2025


newling wrote:

> LGTM! And this is another folder that could be significantly simplified with `vector.to_elements` :)

Absolutely. Or at least this canonicalizer will be less likely to match, because a `vector.to_elements` would have been generated instead of the sequence of `vector.extract` ops. 

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


More information about the Mlir-commits mailing list