aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-09-29 15:51:05 +0200
committerNikita Popov <npopov@redhat.com>2022-09-29 17:07:48 +0200
commitaa25c92f33e42be16446b356ba82a10e7043572d (patch)
treead6e2fcfbe5a5cea668dd39d68eb70f5a72457fa /clang/lib/Frontend/InitPreprocessor.cpp
parent8b38a2c0a55a9140115a91959326918d99bea435 (diff)
downloadllvm-aa25c92f33e42be16446b356ba82a10e7043572d.zip
llvm-aa25c92f33e42be16446b356ba82a10e7043572d.tar.gz
llvm-aa25c92f33e42be16446b356ba82a10e7043572d.tar.bz2
[ValueTracking] Fix CannotBeOrderedLessThanZero() for fdiv (PR58046)
When checking the RHS of fdiv, we should set the SignBitOnly flag, because a negative zero can become -Inf, which is ordered less than zero. Fixes https://github.com/llvm/llvm-project/issues/58046. Differential Revision: https://reviews.llvm.org/D134876
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions