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

Serge Pavlov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 07:50:30 PST 2025


spavloff wrote:

> My understanding of the attribute is that it only indicates that strict floating-point semantics are (potentially?) required at the call site. 

If strict floating-point semantics are required at this call site, they are are required on every relevant call in this function. It means `strictfp` is a function attribute. Does anything prevents us from removal `strictfp` from all call sites?

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


More information about the llvm-commits mailing list