[llvm] LangRef: Clarify llvm.minnum and llvm.maxnum about sNaN (PR #112852)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 11:13:14 PDT 2024


https://github.com/efriedma-quic commented:

Please add some mention of the interaction with FP arithmetic. (In particular, that arithmetic on an sNaN doesn't consistently produce a qNaN, so arithmetic feeding into a minnum/maxnum can produce inconsistent results.)

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


More information about the llvm-commits mailing list