[all-commits] [llvm/llvm-project] 04ae6e: [ValueTracking] Fix incorrect inferrence about the...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Mon May 20 06:53:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04ae6e600a3090ccc1f80d0110a1108aa73a54f8
https://github.com/llvm/llvm-project/commit/04ae6e600a3090ccc1f80d0110a1108aa73a54f8
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/known-bits.ll
M llvm/unittests/Analysis/ValueTrackingTest.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list