[all-commits] [llvm/llvm-project] d69238: [ADT] Define countr_zero in terms of popcount (NFC...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Sep 14 23:43:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d69238013fa10c3027975874b283b08a25e90fd0
https://github.com/llvm/llvm-project/commit/d69238013fa10c3027975874b283b08a25e90fd0
Author: Kazu Hirata <kazu at google.com>
Date: 2025-09-14 (Sun, 14 Sep 2025)
Changed paths:
M llvm/include/llvm/ADT/bit.h
Log Message:
-----------
[ADT] Define countr_zero in terms of popcount (NFC) (#158519)
We can express the fallback mechanism of llvm::countr_zero a lot more
concisely with llvm::popcount. Since llvm::countr_zero now requires
llvm::popcount, this patch moves llvm::popcount earlier.
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