[Mlir-commits] [mlir] [mlir][tosa] Remove extra declarations of MulOperandsAndResultElementType in TosaOps.td (PR #134300)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Apr 3 13:17:33 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Jerry-Ge (Jerry-Ge)

<details>
<summary>Changes</summary>

Minor code cleanup 

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


1 Files Affected:

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


``````````diff
diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
index c5314f8d9d406..c4050dcd6baf9 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
@@ -974,11 +974,6 @@ def Tosa_MinimumOp : Tosa_ElementwiseOp<"minimum", [
   ];
 }
 
-def MulOperandsAndResultElementType :
-  NativeOpTrait<"MulOperandsAndResultElementType"> {
-  let cppNamespace = "mlir::OpTrait::tosa";
-}
-
 //===----------------------------------------------------------------------===//
 // Operator: mul
 //===----------------------------------------------------------------------===//

``````````

</details>


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


More information about the Mlir-commits mailing list