Add BitVector::anyCommon().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 14 May 2012 15:01:19 +0000 (15:01 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 14 May 2012 15:01:19 +0000 (15:01 +0000)
commit03a3811ab48139f45cf47f1168788e630af0d40b
treee511159871ccdfc06291e52021d0f913ac171c87
parent734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37
Add BitVector::anyCommon().

The existing operation (A & B).any() is very slow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156760 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/BitVector.h
unittests/ADT/BitVectorTest.cpp