Skip to content
Snippets Groups Projects
  • Evan Cheng's avatar
    Re-apply r97667 but with a little bit of thought put into the patch. This... · 0abbb399
    Evan Cheng authored
    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
    0abbb399