[Mlir-commits] [mlir] 6b53a95 - [mlir][arith] DCE `getPredicateByName` (#121165)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Dec 26 17:38:21 PST 2024
Author: Maksim Levental
Date: 2024-12-26T17:38:18-08:00
New Revision: 6b53a9546c56c805eaf86ac564083bf846570312
URL: https://github.com/llvm/llvm-project/commit/6b53a9546c56c805eaf86ac564083bf846570312
DIFF: https://github.com/llvm/llvm-project/commit/6b53a9546c56c805eaf86ac564083bf846570312.diff
LOG: [mlir][arith] DCE `getPredicateByName` (#121165)
Added:
Modified:
mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
index 2f71caaa593a6c..0722ff68d890de 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^)?
More information about the Mlir-commits
mailing list