Skip to content

Commit 6b53a95

Browse files
authored
[mlir][arith] DCE getPredicateByName (#121165)
1 parent 5d529c3 commit 6b53a95

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

mlir/include/mlir/Dialect/Arith/IR/ArithOps.td

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,10 +1499,6 @@ def Arith_CmpIOp
14991499
SignlessIntegerLikeOfAnyRank:$lhs,
15001500
SignlessIntegerLikeOfAnyRank:$rhs);
15011501

1502-
let extraClassDeclaration = [{
1503-
static arith::CmpIPredicate getPredicateByName(StringRef name);
1504-
}];
1505-
15061502
let hasFolder = 1;
15071503
let hasCanonicalizer = 1;
15081504
}
@@ -1546,10 +1542,6 @@ def Arith_CmpFOp : Arith_CompareOp<"cmpf",
15461542
DefaultValuedAttr<
15471543
Arith_FastMathAttr, "::mlir::arith::FastMathFlags::none">:$fastmath);
15481544

1549-
let extraClassDeclaration = [{
1550-
static arith::CmpFPredicate getPredicateByName(StringRef name);
1551-
}];
1552-
15531545
let hasFolder = 1;
15541546
let hasCanonicalizer = 1;
15551547
let assemblyFormat = [{ $predicate `,` $lhs `,` $rhs (`fastmath` `` $fastmath^)?

0 commit comments

Comments
 (0)