[PATCH] D77038: Fix bug in BitVector and SmallBitVector DenseMap hashing

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 21:16:43 PDT 2020


Meinersbur added a comment.

D77027 <https://reviews.llvm.org/D77027> made `BitVector::operator==` return false for BitVectors of different size, one of the argument being that the hashes of different sizes are different, the other being that a vector, like `std::vector` return false for containing a different number of elements.

With that change, the hash can be different and since its a SmallBit**Vector** I'd suggest to do the same.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77038/new/

https://reviews.llvm.org/D77038





More information about the llvm-commits mailing list