[PATCH] D77027: Fix bugs in BitVector and SmallBitVector
Brad Moody via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 29 19:15:58 PDT 2020
bmoody created this revision.
bmoody added reviewers: zturner, llvm-commits.
bmoody added a project: LLVM.
Herald added a subscriber: dexonsmith.
Fixed bugs:
- BitVector operator== was returning true for vectors with different sizes, which was different to the behaviour of SmallBitVector (and every other vector-like type).
- BitVectors with equal contents but different capacities were hashing differently.
- SmallBitVectors were hashing different in small vs large mode.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77027
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: D77027.253469.patch
Type: text/x-patch
Size: 5980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200330/4a48353b/attachment-0001.bin>
More information about the llvm-commits
mailing list