[libc++] Remove if-else to make branch predictor happy
authorShu Tian <invalid_ms_user@live.com>
Sat, 24 Apr 2021 14:08:55 +0000 (16:08 +0200)
committerMark de Wever <koraq@xs4all.nl>
Sat, 24 Apr 2021 14:09:52 +0000 (16:09 +0200)
commit7402ec8f3877e061a6559c44262ec4d951d12cc7
tree1b00564fb862bc6eaf7ce1727c2265859703f096
parent7255d1f54fd3efcfe5836e1799c5b998d67752d3
[libc++] Remove if-else to make branch predictor happy

Reviewed By: #libc, ldionne, Quuxplusone, Mordante

Differential Revision: https://reviews.llvm.org/D100828
libcxx/include/bitset