Skip to content
  • Chris Lattner's avatar
    Rewrite the main DSE loop to be written in terms of reasoning · 58b779e9
    Chris Lattner authored
    about pairs of AA::Location's instead of looking for MemDep's
    "Def" predicate.  This is more powerful and general, handling
    memset/memcpy/store all uniformly, and implementing PR8701 and
    probably obsoleting parts of memcpyoptimizer.
    
    This also fixes an obscure bug with init.trampoline and i8
    stores, but I'm not surprised it hasn't been hit yet.  Enhancing
    init.trampoline to carry the size that it stores would allow
    DSE to be much more aggressive about optimizing them.
    
    llvm-svn: 120406
    58b779e9
Loading