[llvm] [LangRef] Clarify specification for float min/max operations (PR #172012)
Ralf Jung via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 16 11:07:43 PST 2025
================
@@ -17543,9 +17543,8 @@ have the same sign.
Note that these are the semantics of minimumNumber specified in
IEEE-754-2019 with the usual :ref:`signaling NaN <floatnan>` exception.
-This intrinsic differs from ``llvm.minnum`` in that it is guaranteed to treat
-sNaN the same way as qNaN. ``llvm.minnum`` will instead non-deterministically
-either act like ``llvm.minimumnum`` or return a :ref:`NaN <floatnan>`.
+This intrinsic behaves the same as ``llvm.minnum`` other than its treatment of
+sNaN inputs.
----------------
RalfJung wrote:
This is not true any more with the nsz change for `minnum`, I think? Only the nsz variant of this intrinsic behaves the same as minnum.
https://github.com/llvm/llvm-project/pull/172012
More information about the llvm-commits
mailing list