[Mlir-commits] [mlir] [mlir][arith] Add rounding mode flags to binary arithmetic operations (PR #188458)

Renato Golin llvmlistbot at llvm.org
Wed Mar 25 03:54:35 PDT 2026


================
@@ -81,19 +81,27 @@ struct IdentityBitcastLowering final
 //===----------------------------------------------------------------------===//
 
 using AddFOpLowering =
-    VectorConvertToLLVMPattern<arith::AddFOp, LLVM::FAddOp,
-                               arith::AttrConvertFastMathToLLVM,
-                               /*FailOnUnsupportedFP=*/true>;
+    ConstrainedVectorConvertToLLVMPattern<arith::AddFOp, LLVM::FAddOp,
+                                          /*Constrained=*/false,
----------------
rengolin wrote:

weird to call a `ConstrainedVectorConvert...` function with `constrained = false`.

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


More information about the Mlir-commits mailing list