[Mlir-commits] [mlir] [mlir][vector] Reject a 0-d operand in the outerproduct parser (PR #219917)

Andrzej WarzyƄski llvmlistbot at llvm.org
Sun Sep 13 08:26:55 PDT 2026


banach-space wrote:

> Regarding dropping 0-d support from this op, I think we didn't reach an agreement on how to go about 0-d vectors in the Vector dialect, did we?

`vector.outerproduct` requires input arguments to be rank > 1: https://github.com/llvm/llvm-project/blob/0c62d834abff9b180def1b32d3cf9c225d504994/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td?plain=1#L1120-L1122

This change is just tidying things up and should be safe to land. If not, we can always revert. I suggest that we land this.

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


More information about the Mlir-commits mailing list