[Mlir-commits] [mlir] Update PowOp's dialect output name from z to output (PR #118407)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 2 14:34:02 PST 2024


https://github.com/Jerry-Ge created https://github.com/llvm/llvm-project/pull/118407

To match the latest specification: https://www.mlplatform.org/tosa/tosa_spec.html#_pow

>From c089e94b24a08b26d2e29126b86f3d2be5b1051d Mon Sep 17 00:00:00 2001
From: Jerry Ge <jerry.ge at arm.com>
Date: Mon, 2 Dec 2024 14:33:18 -0800
Subject: [PATCH] Update PowOp's dialect output name from z to output

Signed-off-by: Jerry Ge <jerry.ge at arm.com>
---
 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
index 9f57efff5d1fd2..c786f396a24cdf 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
@@ -828,7 +828,7 @@ def Tosa_PowOp : Tosa_ElementwiseOp<"pow", [SameOperandsAndResultElementType]> {
   );
 
   let results = (outs
-    Tosa_Tensor:$z
+    Tosa_Tensor:$output
   );
 }
 



More information about the Mlir-commits mailing list