[flang-commits] [mlir] [flang] [flang][Draft/RFC] Set unsafe_fp_math attribute for -ffast-math (PR #79301)

Alex Bradbury via flang-commits flang-commits at lists.llvm.org
Wed Jan 24 08:32:33 PST 2024


asb wrote:

> Is this patch addressing the issue in #79257 ? If not, can the other fast-math function attributes ("no-nans-fp-math"="true" and "no-signed-zeros-fp-math"="true") also be added?

I think we might have run into something similar to that issue independently - so thanks for pointing to that issue! I was actually checkpointing work to look more deeply into the issue as I'd heard the suspicion of differing optimisations due to these flags but didn't have a good example. I will indeed update this shortly with something more complete, and separate out the MLIR change.

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


More information about the flang-commits mailing list