[PATCH] D142078: [llvm] Move bit counting functions to bit.h (NFC)
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 19 17:33:44 PST 2023
kazu updated this revision to Diff 490690.
kazu added a comment.
I've moved the forward declarations of _BitScan* functions to bit.h
instead of copying them.
I've also added unit tests.
I've removed #include "llvm/Support/Compiler.h" in MathExtras.h as we
don't need it according to include-what-you-use.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142078/new/
https://reviews.llvm.org/D142078
Files:
llvm/include/llvm/ADT/bit.h
llvm/include/llvm/Support/MathExtras.h
llvm/unittests/ADT/BitTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142078.490690.patch
Type: text/x-patch
Size: 14089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230120/24be23eb/attachment-0001.bin>
More information about the llvm-commits
mailing list