diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-05-20 21:52:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 21:52:38 +0800 |
commit | 04ae6e600a3090ccc1f80d0110a1108aa73a54f8 (patch) | |
tree | 67341424cec4d0387b277cbf3c27fbe6f88c38b8 /llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp | |
parent | 36899d693d91719e7e6cd0f0ee4cf579111b8509 (diff) | |
download | llvm-04ae6e600a3090ccc1f80d0110a1108aa73a54f8.zip llvm-04ae6e600a3090ccc1f80d0110a1108aa73a54f8.tar.gz llvm-04ae6e600a3090ccc1f80d0110a1108aa73a54f8.tar.bz2 |
[ValueTracking] Fix incorrect inferrence about the signbit of sqrt (#92510)
According to IEEE Std 754-2019, `sqrt` returns nan when the input is
negative (except for -0). In this case, we cannot make assumptions about
sign bit of the result.
Fixes https://github.com/llvm/llvm-project/issues/92217
Diffstat (limited to 'llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions