[Mlir-commits] [mlir] [mlir][Vector] add vector.insert canonicalization pattern for vectors created from ub.poison (PR #142944)

Yang Bai llvmlistbot at llvm.org
Tue Jul 1 01:53:38 PDT 2025


yangtetris wrote:

Almost all of the changes have been completed. However, while updating the test base, I found that [VectorFromElementsLowering](https://github.com/llvm/llvm-project/blob/102c22cb2c100808c383573f0b7fc74d1537487b/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp#L1976-L1978) currently does not support vectors with **rank > 1**. So, replacing insert chains with `from_elements` would break some lower-to-llvm tests. Let's pause until that issue is fixed.

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


More information about the Mlir-commits mailing list