Skip to content
  • Chris Lattner's avatar
    implement some fixme's: when deleting an instruction with · e7d7e13b
    Chris Lattner authored
    an entry in the nonlocal deps map, don't reset entries
    referencing that instruction to [dirty, null], instead, set
    them to [dirty,next] where next is the instruction after the
    deleted one.  Use this information in the non-local deps
    code to avoid rescanning entire blocks.
    
    This speeds up GVN slightly by avoiding pointless work.  On
    403.gcc this makes GVN 1.5% faster. 
    
    llvm-svn: 60256
    e7d7e13b
Loading