[PATCH] D14327: Add llvm.ldexp.* intrinsic, associated SDNode and library calls
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 2 18:54:54 PST 2016
arsenm added a comment.
Could also use updating some IR places to handle it (e.g. TTI, isSafeToSpeculativelyExecute), but that's probably a separate patch
================
Comment at: docs/LangRef.rst:9989
@@ +9988,3 @@
+power. If the first argument is NaN or infinite, the same value is returned.
+The behavior in case of a range error (underflow or overflow) is undefined.
+
----------------
The returned value on underflow is defined to be zero, and HUGE_VAL, which may be infinity, on overflow. I think saying undefined behavior for the case is too strong. Maybe saying just the state of errno is undefined?
http://reviews.llvm.org/D14327
More information about the llvm-commits
mailing list