Hardcode84 wrote: What we can probably do is to extract these initial transforms into dedicated pass and run it before generic `convert-to-llvm` for the `vector-to-llvm.mlir`. https://github.com/llvm/llvm-project/pull/121440