[Mlir-commits] [mlir] [mlir][tosa] Add support for matmul_t (PR #203894)

Luke Hutton llvmlistbot at llvm.org
Fri Jun 19 01:22:49 PDT 2026


================
@@ -453,6 +453,44 @@ def Tosa_MatMulOp : Tosa_InferShapedTypeOp<"matmul", [NoMemoryEffect]> {
       "operands attr-dict `:` functional-type(operands, results)";
 }
 
+//===----------------------------------------------------------------------===//
+// Operator: matmul_t
+//===----------------------------------------------------------------------===//
+def Tosa_MatMulTOp : Tosa_InferShapedTypeOp<"matmul_t", [NoMemoryEffect]> {
+  let summary = "Matrix multiplication with transposed B operator.";
+
+  let description = [{
+    Performs two dimensional matrix multiplications. `A` matrix is of shape
----------------
lhutton1 wrote:

This text is copied directly from the specification, I think I'd prefer to keep them aligned if that's okay? That said, the text here does make reference to `D` for which there is no reference here. I'll replace with this with "batched"

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


More information about the Mlir-commits mailing list