diff --git a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td --- a/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td +++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td @@ -1013,7 +1013,7 @@ def Tosa_LogicalNotOp : Tosa_Op<"logical_not", [ DeclareOpInterfaceMethods, - NoSideEffect]> { + NoSideEffect, SameOperandsAndResultType]> { let summary = "Returns the truth value of NOT x element-wise."; let description = [{