[Mlir-commits] [mlir] [mlir][vector] Disallow pure reduction dims in vector.contract (PR #237709)
Federico Bruzzone
llvmlistbot at llvm.org
Sun Nov 1 05:18:21 PST 2026
================
@@ -109,7 +109,6 @@ def Vector_ContractionOp :
| "parallel" | yes | lhs only | free (M-like) |
| "parallel" | yes | rhs only | free (N-like) |
| "reduction" | no | both | contracting |
- | "reduction" | no | one of them | reduction on one operand |
The M-like and N-like terms follow
[`linalg.contract`](https://mlir.llvm.org/docs/Dialects/Linalg/#linalgcontract-linalgcontractop)
----------------
FedericoBruzzone wrote:
I'd like to explicitly document that pure reductions are not supported on purpose - eventually to match the `linalg.contract` behaviour. WDYT?
https://github.com/llvm/llvm-project/pull/237709
More information about the Mlir-commits
mailing list