[all-commits] [llvm/llvm-project] fb42d3: [ADT] Fix bug in BitVector and SmallBitVector Dens...

bradmoody via All-commits all-commits at lists.llvm.org
Fri Apr 17 22:24:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fb42d3afad1d9f09bcb90680baa77a39ecb99140
      https://github.com/llvm/llvm-project/commit/fb42d3afad1d9f09bcb90680baa77a39ecb99140
  Author: Brad Moody <brad.moody at oracle.com>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M llvm/include/llvm/ADT/BitVector.h
    M llvm/include/llvm/ADT/SmallBitVector.h
    M llvm/unittests/ADT/BitVectorTest.cpp

  Log Message:
  -----------
  [ADT] Fix bug in BitVector and SmallBitVector DenseMap hashing.

BitVectors and SmallBitVectors with equal contents but different
capacities were getting different hashes.

Reviewed By: aganea

Differential Revision: https://reviews.llvm.org/D77038




More information about the All-commits mailing list