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 | 0abbb399c95aacc298a0447dc54224fe9a069d0f (patch) | |
tree | 8165e18f32edbf26c2eef4a7919d96a60df7abfd /clang/lib/Frontend/InitHeaderSearch.cpp | |
parent | 979302e14a4f154333c6677c64b3cb3e553133f3 (diff) | |
download | bcm5719-llvm-0abbb399c95aacc298a0447dc54224fe9a069d0f.tar.gz bcm5719-llvm-0abbb399c95aacc298a0447dc54224fe9a069d0f.zip |
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.
llvm-svn: 97678
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
0 files changed, 0 insertions, 0 deletions