diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-18 10:37:32 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-04-18 10:37:32 +0000 |
commit | 94988cb34ce5f3a2a9e560e3eee55f410c7b9ff3 (patch) | |
tree | 4f1df9986e0716532d079e5a5e06afdc947001b4 /llvm/lib/CodeGen/DFAPacketizer.cpp | |
parent | b0e978989999ad828b35d67c199fb082ddf6e922 (diff) | |
download | llvm-94988cb34ce5f3a2a9e560e3eee55f410c7b9ff3.zip llvm-94988cb34ce5f3a2a9e560e3eee55f410c7b9ff3.tar.gz llvm-94988cb34ce5f3a2a9e560e3eee55f410c7b9ff3.tar.bz2 |
SmallPtrSet: Reuse DenseMapInfo's pointer hash function instead of inventing a bad one ourselves.
DenseMap's hash function uses slightly more entropy and reduces hash collisions
significantly. I also experimented with Hashing.h, but it didn't gave a lot of
improvement while being much more expensive to compute.
llvm-svn: 154996
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions