[Mlir-commits] [mlir] [MLIR][Transforms] add eliminate-explicit-rounding pass (PR #93443)
Krzysztof Drewniak
llvmlistbot at llvm.org
Fri Jun 7 08:29:07 PDT 2024
================
@@ -1195,6 +1195,14 @@ def Arith_ExtFOp : Arith_FToFCastOp<"extf"> {
}];
let hasVerifier = 1;
let hasFolder = 1;
+ let hasCanonicalizer = 1;
+
+ let arguments = (ins FloatLike:$in, DefaultValuedAttr<
+ Arith_FastMathAttr,
+ "::mlir::arith::FastMathFlags::contract">:$fastmath);
----------------
krzysz00 wrote:
I don't think contract should be the default here. This is the exact sort of breaking change we're trying to avoid by making this opt-in and not opt-out.
https://github.com/llvm/llvm-project/pull/93443
More information about the Mlir-commits
mailing list