[clang] [llvm] [IR] Don't set strictfp on irrelevant calls (PR #122735)

Andy Kaylor via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 16:34:41 PST 2025


andykaylor wrote:

What's the motivation for this change? Was the strictfp attribute blocking some optimization?

My understanding of the attribute is that it only indicates that strict floating-point semantics are (potentially?) required at the call site. It doesn't indicate that the called function does access the floating-point environment.

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


More information about the llvm-commits mailing list