Skip to content

Commit

Permalink
[mlir][arith] DCE getPredicateByName (#121165)
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Dec 27, 2024
1 parent 5d529c3 commit 6b53a95
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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^)?
Expand Down

0 comments on commit 6b53a95

Please sign in to comment.