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

Krzysztof Drewniak llvmlistbot at llvm.org
Tue Mar 24 06:52:46 PDT 2026


krzysz00 wrote:

 I don't necessarily agree that we should be removing extf and truncf at al - extension and truncation (and these sorts of conversions) have meaningfully different properties in a lot of code paths and having them as separate ops makes them easy to match on. They've also go meaningfully different semantics to worry about - extension doesn't *really* care about rounding mode the way truncation does, for example. Tonally, we have extension and truncation as separate operations for integers, so why not on floats?

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


More information about the Mlir-commits mailing list