[ADT] Support BitVector as a key in DenseSet/Map
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 13 Feb 2020 21:31:05 +0000 (16:31 -0500)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Fri, 14 Feb 2020 15:24:22 +0000 (10:24 -0500)
commitd110c3a9f5253c4d94c10299c61fbbb33edab7db
tree98b23720af705b43bcae67c4541be0845971c7e9
parentc29310707e9a85e70a226277657cd9d9182a5d04
[ADT] Support BitVector as a key in DenseSet/Map

This patch adds DenseMapInfo<> support for BitVector and SmallBitVector.

This is part of https://reviews.llvm.org/D71775, where a BitVector is used as a thread affinity mask.
llvm/include/llvm/ADT/BitVector.h
llvm/include/llvm/ADT/SmallBitVector.h
llvm/unittests/ADT/BitVectorTest.cpp