Remove the misguided extension here that reserved two special values in
authorChandler Carruth <chandlerc@gmail.com>
Fri, 2 Mar 2012 00:48:38 +0000 (00:48 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 2 Mar 2012 00:48:38 +0000 (00:48 +0000)
commit4166989f10eaecfb357551788a3d91275e75f119
tree4909288d84692636d60609e9a3f1903a60db7aba
parent7550f7dce65f96aa2e95c60b04d6c9650343a5df
Remove the misguided extension here that reserved two special values in
the hash_code. I'm not sure what I was thinking here, the use cases for
special values are in the *keys*, not in the hashes of those keys.

We can always resurrect this if needed, or clients can accomplish the
same goal themselves. This makes the general case somewhat faster (~5
cycles faster on my machine) and smaller with less branching.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151865 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Hashing.h
unittests/ADT/HashingTest.cpp