Remove another outbreak of customized (and completely broken) hashing.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 7 Mar 2012 09:39:46 +0000 (09:39 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 7 Mar 2012 09:39:46 +0000 (09:39 +0000)
commitfc22625eb04d39b0de77090702cf50a9bcda3ddb
tree975e11b3586f3468982a0e8f2fba6ba108e2eb4c
parentd4d8b2a7f6d29b44cbc084b49042f44ef109da0c
Remove another outbreak of customized (and completely broken) hashing.
This one is particularly annoying because the hashing algorithm is
highly specialized, with a strange "equivalence" definition that subsets
the fields involved.

Still, this looks at the exact same set of data as the old code, but
without bitwise or-ing over parts of it and other mixing badness. No
functionality changed here. I've left a substantial fixme about the fact
that there is a cleaner and more principled way to do this, but it
requires making the equality definition actual stable for particular
types...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152218 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineInstr.cpp