[Mlir-commits] [mlir] [MLIR][Transforms] add eliminate-explicit-rounding pass (PR #93443)

Krzysztof Drewniak llvmlistbot at llvm.org
Fri Jun 7 12:39:28 PDT 2024


================
@@ -1195,6 +1195,12 @@ def Arith_ExtFOp : Arith_FToFCastOp<"extf"> {
   }];
   let hasVerifier = 1;
   let hasFolder = 1;
+
+  let arguments = (ins FloatLike:$in, OptionalAttr<Arith_FastMathAttr>:$fastmath);
----------------
krzysz00 wrote:

I'd go with `DefaultValuedAttrArith_FastMathAttr,` "::mlir::arith::FastMathFlags::none">` to match stuff like `Arith_UnaryFloatOp`

https://github.com/llvm/llvm-project/pull/93443


More information about the Mlir-commits mailing list