diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-03-03 23:27:36 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-03-03 23:27:36 +0000 |
commit | 05bdcbb1ae48d1d1209173d137d11c35f46abff3 (patch) | |
tree | f6cbab230093c72fab8b2a5a6643ca34b92b7417 /lib/CodeGen/MachineInstr.cpp | |
parent | cb721da4c64bb9a844cf5180647dc926a5fd5f24 (diff) |
Re-apply r97667 but with a little bit of thought put into the patch. This implements a special DenseMapInfo trait for DenseMap<MachineInstr*> that compare the value of the MachineInstr rather than the pointer value. Since the hashing and equality test functions ignore defs it's useful for doing CSE kind optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions