[Mlir-commits] [mlir] [mlir][tosa] Rename the result of MATMUL from `c` to `output` (PR #129274)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Feb 28 09:19:20 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-tosa

Author: Tai Ly (Tai78641)

<details>
<summary>Changes</summary>

This renames the output of TOSA MatMul operator from `c` to `output`
to align to TOSA spec

---
Full diff: https://github.com/llvm/llvm-project/pull/129274.diff


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td (+1-1) 


``````````diff
diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
index ddfec2c9bfcd3..1f4f1fc6b96c9 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
@@ -301,7 +301,7 @@ def Tosa_MatMulOp : Tosa_InferShapedTypeOp<"matmul"> {
   );
 
   let results = (outs
-    Tosa_Tensor3D:$c
+    Tosa_Tensor3D:$output
   );
 
   list<Availability> availability = [

``````````

</details>


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


More information about the Mlir-commits mailing list