[Mlir-commits] [mlir] [mlir][vector] Disallow vector broadcast along scalable dim (PR #212197)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Aug 4 07:55:15 PDT 2026


================

----------------
banach-space wrote:

```suggestion
func.func @negative_broadcast_vec2d_from_vec1d_scalable_leading(%arg0: vector<2xf32>) -> vector<[4]x2xf32> {
```

Also, move the test to https://github.com/llvm/llvm-project/blob/4b0b8cbac0f567cdacfde0c81019fc6c0d27f251/mlir/test/Dialect/Vector/vector-broadcast-lowering-transforms.mlir - that's where this transformation is tested (no need to verify this here, where full lowering to LLVM is exercised).

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


More information about the Mlir-commits mailing list