[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)
commitd3a308789eaa0f878bc3a254917ae89efdbd3096
tree017c4210f5155a3c97aed4f0f5033653e75d91ec
parent8bb4326c04eebf68774cc07c32c0b93604be3597
[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

llvm-svn: 337323
llvm/docs/LangRef.rst