https://github.com/andykaylor commented:

I have a question about interpreting the standard. The standard says each of 
these macros "is defined if and only if the respective type contains signaling 
NaNs." Given that by default LLVM IR gives the compiler permission to treat all 
NaNs as if they were quiet NaNs, should we really be defining these macros in 
the default mode?

My understanding is that these built-ins will indeed produce a signaling NaN 
value, but the quiet/signaling behavior may not be respected by the optimizer.

https://github.com/llvm/llvm-project/pull/162858
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to