[PATCH] D143056: [RFC][IR] llvm.minimum/maximum NaN propagation.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 02:30:18 PST 2023


arsenm added a comment.

I would remove the RFC, this isn’t a behavior change and is just inlining the definition into the LangRef



================
Comment at: llvm/docs/LangRef.rst:14844
 """"""""""
-If either operand is a NaN, returns NaN. Otherwise returns the greater
-of the two arguments. -0.0 is considered to be less than +0.0 for this
-intrinsic. Note that these are the semantics specified in the draft of
-IEEE 754-2018.
+If one operand is a NaN, return that NaN. If both operands are NaNs, return
+either one of them. Otherwise returns the greater of the two arguments.
----------------
Are the payload bits really guaranteed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143056/new/

https://reviews.llvm.org/D143056



More information about the llvm-commits mailing list