OSDN Git Service

[LangRef] nnan and ninf produce poison.
authorEli Friedman <efriedma@codeaurora.org>
Tue, 17 Jul 2018 20:31:42 +0000 (20:31 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Tue, 17 Jul 2018 20:31:42 +0000 (20:31 +0000)
commit9ff02efe80bd48fa19220c43908332df3d92e629
tree29a07c2b450fbb724df7bb5eb839038d4d58aebc
parent1ea502b3c158159aa2d7827acbd81c7930165a13
[LangRef] nnan and ninf produce poison.

Clarify that violating nnan and ninf can lead to undefined behavior.
This allows more aggressive optimizations based on those assumptions.

Differential Revision: https://reviews.llvm.org/D47963

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337323 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst