aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringMapTest.cpp
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2024-11-02 20:06:39 -0400
committerGitHub <noreply@github.com>2024-11-02 20:06:39 -0400
commit5091a359d9807db8f7d62375696f93fc34226969 (patch)
tree9179d8902f57398e561f04801a8677567609f808 /llvm/unittests/ADT/StringMapTest.cpp
parent6f10b65297707c1e964d570421ab4559dc2928d4 (diff)
downloadllvm-5091a359d9807db8f7d62375696f93fc34226969.zip
llvm-5091a359d9807db8f7d62375696f93fc34226969.tar.gz
llvm-5091a359d9807db8f7d62375696f93fc34226969.tar.bz2
[ConstantFold] Special case log1p +/-0.0 (#114635)
C's Annex F specifies that log1p +/-0.0 returns the input value; however, this behavior is optional and host C libraries may behave differently. This change applies the Annex F behavior to constant folding by LLVM.
Diffstat (limited to 'llvm/unittests/ADT/StringMapTest.cpp')
0 files changed, 0 insertions, 0 deletions