[all-commits] [llvm/llvm-project] 66531c: [libc++] Remove one of the std::signbit overloads ...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Sun Mar 23 23:31:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66531c998aa76bfb5538a28656b979c268e7b126
https://github.com/llvm/llvm-project/commit/66531c998aa76bfb5538a28656b979c268e7b126
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M libcxx/include/__math/traits.h
M libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
M libcxx/test/std/numerics/c.math/signbit.pass.cpp
Log Message:
-----------
[libc++] Remove one of the std::signbit overloads (#130505)
We'e specialized `std::signbit` for signed and unsigned integral types
seperately, even though the optimizer can trivially figure out that
`unsigned_value < 0` always false is. This patch removes the
specialization, since there is really not much of a benefit to it.
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