[Mlir-commits] [mlir] [mlir][arith] Add `flush_denormals` operations (PR #192641)
Matthias Springer
llvmlistbot at llvm.org
Fri Apr 17 04:54:49 PDT 2026
matthias-springer wrote:
This PR is a follow-up to a discussion that I had with @krzysz00 at EuroLLVM. We discussed how to make the `arith` dialect more easier to use. The lack of control over rounding modes, fast-math flags, special modes (e.g., FTZ) makes it difficult for downstream compilers to use the `arith` dialect.
Options considered:
- `arith.flush_denormals` operation.
- FTZ flag on `arith.addf` operations, etc.
Potential follow-up:
- Adding a new `nftz` fast-math flag, similar to `ninf` and `nnan` (?)
https://github.com/llvm/llvm-project/pull/192641
More information about the Mlir-commits
mailing list