[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:15:08 PDT 2022
RKSimon updated this revision to Diff 454603.
RKSimon added a comment.
Use std::is_unsigned_v
No need to change `#if defined(__GNUC__)` as clang defines this as well
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132407/new/
https://reviews.llvm.org/D132407
Files:
llvm/include/llvm/ADT/bit.h
llvm/include/llvm/Support/MathExtras.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132407.454603.patch
Type: text/x-patch
Size: 3433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220822/e7ce9a1f/attachment.bin>
More information about the llvm-commits
mailing list