diff --git a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td index 2f71caaa593a6..0722ff68d890d 100644 --- a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td +++ b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td @@ -1499,10 +1499,6 @@ def Arith_CmpIOp SignlessIntegerLikeOfAnyRank:$lhs, SignlessIntegerLikeOfAnyRank:$rhs); - let extraClassDeclaration = [{ - static arith::CmpIPredicate getPredicateByName(StringRef name); - }]; - let hasFolder = 1; let hasCanonicalizer = 1; } @@ -1546,10 +1542,6 @@ def Arith_CmpFOp : Arith_CompareOp<"cmpf", DefaultValuedAttr< Arith_FastMathAttr, "::mlir::arith::FastMathFlags::none">:$fastmath); - let extraClassDeclaration = [{ - static arith::CmpFPredicate getPredicateByName(StringRef name); - }]; - let hasFolder = 1; let hasCanonicalizer = 1; let assemblyFormat = [{ $predicate `,` $lhs `,` $rhs (`fastmath` `` $fastmath^)?