diff options
| author | Alcaro <floating@muncher.se> | 2025-11-21 13:59:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-21 13:59:38 +0100 |
| commit | 274a4c0c03af8f37108479328285299414268cfa (patch) | |
| tree | d17a1c0717f808aefe7c60656b48fe5a15295ae0 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 622f72f4bef8b177e1e4f318465260fbdb7711ef (diff) | |
[libc++] Optimize std::has_single_bit (#133063)
Clang translates most implementations of has_single_bit to `(v ^ (v-1))
> v-1` - except the one definition libc++ actually uses.
Proof of correctness: https://godbolt.org/z/d61bxW4r1
(Could also be fixed by teaching Clang to optimize better, but making
source match output feels clearer to me. And it improves unoptimized
performance.)
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
