mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Optimize BitVector::all().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183521 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -141,6 +141,14 @@ TYPED_TEST(BitVectorTest, TrivialOperation) {
|
||||
EXPECT_TRUE(Vec.none());
|
||||
EXPECT_FALSE(Vec.empty());
|
||||
|
||||
Vec.flip();
|
||||
EXPECT_EQ(130U, Vec.count());
|
||||
EXPECT_EQ(130U, Vec.size());
|
||||
EXPECT_TRUE(Vec.any());
|
||||
EXPECT_TRUE(Vec.all());
|
||||
EXPECT_FALSE(Vec.none());
|
||||
EXPECT_FALSE(Vec.empty());
|
||||
|
||||
Inv = TypeParam().flip();
|
||||
EXPECT_EQ(0U, Inv.count());
|
||||
EXPECT_EQ(0U, Inv.size());
|
||||
|
Reference in New Issue
Block a user