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

Ivy Zhang llvmlistbot at llvm.org
Mon May 27 00:21:36 PDT 2024


crazydemo wrote:

This PR is an alternative solution to [PR#92482](https://github.com/llvm/llvm-project/pull/92482)
@krzysz00, @ZhennanQin 

1. Now the `elimination pass` is independent from `Math` / `Arith` Dialect. So it will be more flexible if there's another pass inserting `trunc / extf` pairs into the IR. 
2. `eliminatable` attrs is added, and will only remove rounding pairs from type conversion by default.

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


More information about the Mlir-commits mailing list