[PATCH] D31802: Add methods to find the next *unset* bits in a bit vector
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 6 21:29:19 PDT 2017
zturner created this revision.
It's nice to be able to find the next set bit, but often you have a clump of them and you want to find where they stop, i.e. by locating the next unset bit. This patch does that.
https://reviews.llvm.org/D31802
Files:
llvm/include/llvm/ADT/BitVector.h
llvm/include/llvm/ADT/SmallBitVector.h
llvm/unittests/ADT/BitVectorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31802.94479.patch
Type: text/x-patch
Size: 4223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170407/ef268007/attachment.bin>
More information about the llvm-commits
mailing list