[PATCH] D44318: [LangRef] describe the default FP environment

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 14:31:48 PST 2018


efriedma added inline comments.


================
Comment at: docs/LangRef.rst:2300
+
+      %A = fdiv undef, %X
+      %B = fdiv %X, 0.0
----------------
Using undef here is confusing, since it's not any specific value.  If you want an SNaN, write an SNaN.


https://reviews.llvm.org/D44318





More information about the llvm-commits mailing list