diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-04 12:02:57 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-04 12:02:57 +0000 |
| commit | ed7692a136a9bcf513b91b7b5eb33a1e2d83e7ee (patch) | |
| tree | 699f358d3fdc8138b9aa7cadf8427eb2473c739e /lib/CodeGen/MachineCopyPropagation.cpp | |
| parent | 528f0bbe19553dfadedca040df13a389daa7593d (diff) | |
Replace the hashing functions on APInt and APFloat with overloads of the
new hash_value infrastructure, and replace their implementations using
hash_combine. This removes a complete copy of Jenkin's lookup3 hash
function (which is both significantly slower and lower quality than the
one implemented in hash_combine) along with a somewhat scary xor-only
hash function.
Now that APInt and APFloat can be passed directly to hash_combine,
simplify the rest of the LLVMContextImpl hashing to use the new
infrastructure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions
