[Mlir-commits] [mlir] [mlir][arith] Add `arith.fptofp` op (PR #188041)

Krzysztof Drewniak llvmlistbot at llvm.org
Mon Mar 23 08:05:40 PDT 2026


================
@@ -1425,6 +1425,40 @@ def Arith_TruncFOp :
                           attr-dict `:` type($in) `to` type($out) }];
 }
 
+//===----------------------------------------------------------------------===//
+// FPToFPOp
+//===----------------------------------------------------------------------===//
+
+def Arith_FPToFPOp :
----------------
krzysz00 wrote:

So, what if we defined this to be mutually exclusive with extf and truncf - that is, *required* the inputs to have the same bitwidth?

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


More information about the Mlir-commits mailing list