[PATCH] D52450: [Intrinsic] Add llvm.minnan and llvm.maxnan instrinsic functions
Dan Gohman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 27 15:03:22 PDT 2018
sunfish added a comment.
In https://reviews.llvm.org/D52450#1248586, @tlively wrote:
> WebAssembly's handling of +0/-0 *does* match IEEE 754-2018, so these intrinsics (whether target-independent or not) need to be changed to match those semantics as well. I will have to investigate whether the fminnan and fmaxnan ISel DAG nodes are already being used in ways that do not respect these semantics. If they are, we will need new ISel DAG nodes as well.
It's ok for WebAssembly's semantics to be more constrained than LLVM's. It's the reverse that would be a problem.
Repository:
rL LLVM
https://reviews.llvm.org/D52450
More information about the llvm-commits
mailing list