summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-06-08 21:33:33 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-06-08 21:33:33 +0000
commitc065bb29531dd716256b0bc43f5fead262cae27a (patch)
treec6acfca97f1bce5a3ee75088f0f67afa6fb3b965 /clang/lib/Sema/SemaChecking.cpp
parent2c7a81b2f8c5e65d61a06a815c48cc9e4a47f807 (diff)
downloadbcm5719-llvm-c065bb29531dd716256b0bc43f5fead262cae27a.tar.gz
bcm5719-llvm-c065bb29531dd716256b0bc43f5fead262cae27a.zip
[LangRef] fptosi and fptoui return poison on overflow.
I think we assume poison, not undef, for certain transforms we currently do. In any case, we should clarify the language here. (This sort of conversion is undefined behavior according to the C and C++ standards. And in practice, hardware implementations handle overflow inconsistently, so it would be difficult to define the result here.) Differential Revision: https://reviews.llvm.org/D47851 llvm-svn: 334326
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud