[PATCH] D77027: Make BitVector::operator== return false for different-sized vectors
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 09:12:48 PDT 2020
Meinersbur added a comment.
Also note, that the implementation of BitVector's hash value is:
static unsigned getHashValue(const BitVector &V) {
return DenseMapInfo<std::pair<unsigned, ArrayRef<uintptr_t>>>::getHashValue(
std::make_pair(V.size(), V.getData()));
}
that is the current implementation may have different hashes for 'equal' BitVectors.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77027/new/
https://reviews.llvm.org/D77027
More information about the llvm-commits
mailing list