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

Ivy Zhang llvmlistbot at llvm.org
Fri Jun 7 11:12:16 PDT 2024


crazydemo wrote:

> I'm blocking this because the default is the wrong way around.
> 
> extf and truncf don't have contract semantics unless the person generating the ext and trunc ops (or someone who's going in with a `.walk()` afterwards, for example) knows that such a contraction is allowed by the semantics of their application or pass.

Thanks for your comment. Now set the fastmathattr as an optional attr, and will set it as contract in `legalize-to-f32` and `emulate-unsupported-floats`.

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


More information about the Mlir-commits mailing list