[PATCH] D132407: [ADT] Add llvm::ctpop to <bit> helper wrapper
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 22 13:00:35 PDT 2022
RKSimon added a comment.
In D132407#3740594 <https://reviews.llvm.org/D132407#3740594>, @tschuett wrote:
> clang also supports __builtin_popcount:
> https://clang.llvm.org/docs/LanguageExtensions.html
Yeah - its just a copy + paste from MathExtras.h so far - I'll add a __has_builtin()
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132407/new/
https://reviews.llvm.org/D132407
More information about the llvm-commits
mailing list