[llvm] LangRef: Clarify llvm.minnum and llvm.maxnum about sNaN (PR #112852)
YunQiang Su via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 19 20:50:52 PDT 2024
================
@@ -16464,8 +16464,8 @@ type.
Semantics:
""""""""""
-Follows the IEEE754 2008 semantics for minNum, except for handling of
-+0.0 vs -0.0. This matches the behavior of libm's fmin.
+Follows the IEEE754 2008 semantics for minNum.
+This also matches the behavior of libm's fmin.
----------------
wzssyqa wrote:
I you feel that the "IEEE754-2008 + +0.0>-0.0" is useful, we can export ISD::FMINNUM_IEEE as an new intrinsic.
Anyway, it will be another patch/PR.
https://github.com/llvm/llvm-project/pull/112852
More information about the llvm-commits
mailing list