[Mlir-commits] [mlir] [mlir][vector] support unrolling vector.contract with scalar result (PR #232203)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Oct 19 00:28:37 PDT 2026
================
@@ -290,10 +289,11 @@ struct UnrollContractionPattern
LogicalResult matchAndRewrite(vector::ContractionOp contractOp,
PatternRewriter &rewriter) const override {
+ bool scalarResult = !isa<VectorType>(contractOp.getResultType());
----------------
StarOne01 wrote:
yes! i just found it more easier to read.
https://github.com/llvm/llvm-project/pull/232203
More information about the Mlir-commits
mailing list