================ @@ -86,6 +86,39 @@ def LinalgContractionOpInterface : OpInterface<"ContractionOpInterface"> { /*methodBody=*/[{ return mlir::isRowMajorBatchMatmul($_op.getIndexingMaps()); }]>, + InterfaceMethod< + /*desc=*/[{ + Returns whether the given op has indexing maps that correspond to a + vector-matrix multiplication. + }], + /*retTy=*/"bool", + /*methodName=*/"isVecmat", ---------------- NatashaKnk wrote:
Hmm, I guess my assumption is that vecmat *has* to be row-major so it seemed redundant. Do you think it's helpful with clarity? https://github.com/llvm/llvm-project/pull/68945 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits