[flang-commits] [flang] [flang] Remove "unsafe-fp-math" attribute support (PR #162783)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Fri Oct 10 19:54:58 PDT 2025


vzakhari wrote:

> > Thanks for the changes!
> > Can you please clarify whether all target CGs have been fixed in LLVM not to rely on this function attribute?
> 
> Now powerpc is the only backend that relies on "unsafe-fp-math".

Thanks for the reply.

@kkwli @DanielCChen are you okay with removing the `unsafe-fp-math` function attribute in Flang, given that PPC backend still relies on it?

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


More information about the flang-commits mailing list