[all-commits] [llvm/llvm-project] dfabf2: [KnownFPClass] Refine positive zero result for sqr...
Eric Ross via All-commits
all-commits at lists.llvm.org
Fri Oct 2 16:00:52 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfabf2df7d27cbaf96b849251c36b8228762ee87
https://github.com/llvm/llvm-project/commit/dfabf2df7d27cbaf96b849251c36b8228762ee87
Author: Eric Ross <zerico2005 at gmail.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M llvm/lib/Support/KnownFPClass.cpp
M llvm/test/Transforms/Attributor/nofpclass-sqrt.ll
Log Message:
-----------
[KnownFPClass] Refine positive zero result for sqrt (#214987)
Refines `KnownFPClass::sqrt` for positive zero:
- Only `sqrt(x) == +0.0` iff `x` is `+0.0` or `x` flushes to `+0.0` in
the current denormal mode. The `-0.0` case was handled in a prior
commit.
AI disclosure:
I used OpenAI Codex (GPT-5.6-sol) to help generate the test updates,
which I reviewed and tested locally.
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