[clang] Disable FTZ/DAZ when compiling shared libraries by default. (PR #80475)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 21:28:57 PST 2024


arsenm wrote:

> Do you only set the register for kernel entries?

Yes, it's the pre-initialized state. Non kernels can't be arbitrarily invoked from the host 

>  Is the attribute ignored for other functions?

No, it's an informative attribute about that the mode is. The compiler isn't trying to fix up the modes for you. If you enter the function with the wrong mode, you get what you get. 



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


More information about the cfe-commits mailing list