[Mlir-commits] [mlir] 476b1a6 - [TOSA] Update input name for Sin and Cos operators (#107606)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Sep 9 02:26:42 PDT 2024


Author: Jerry-Ge
Date: 2024-09-09T10:26:39+01:00
New Revision: 476b1a661f6846537d232e9a3bc5a68c5f15efb3

URL: https://github.com/llvm/llvm-project/commit/476b1a661f6846537d232e9a3bc5a68c5f15efb3
DIFF: https://github.com/llvm/llvm-project/commit/476b1a661f6846537d232e9a3bc5a68c5f15efb3.diff

LOG: [TOSA] Update input name for Sin and Cos operators (#107606)

Update the dialect input names from input to input1 for Sin/Cos for
consistency.

Signed-off-by: Jerry Ge <jerry.ge at arm.com>

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
index 1a132e73be8645..ab6daa39708d13 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
@@ -1004,7 +1004,7 @@ def Tosa_CosOp : Tosa_ElementwiseOp<"cos",
   }];
 
   let arguments = (ins
-    Tosa_FloatTensor:$input
+    Tosa_FloatTensor:$input1
   );
 
   let results = (outs
@@ -1183,7 +1183,7 @@ def Tosa_SinOp : Tosa_ElementwiseOp<"sin",
   }];
 
   let arguments = (ins
-    Tosa_FloatTensor:$input
+    Tosa_FloatTensor:$input1
   );
 
   let results = (outs


        


More information about the Mlir-commits mailing list