Skip to content
  • Chris Lattner's avatar
    Make the NDEBUG assertion stronger and more clear what is · 4690af85
    Chris Lattner authored
    happening.
    
    Enhance scheduling to set the DEAD flag on implicit defs
    more aggressively.  Before, we'd set an implicit def operand
    to dead if it were present in the SDNode corresponding to
    the machineinstr but had no use.  Now we do it in this case
    AND if the implicit def does not exist in the SDNode at all.
    
    This exposes a couple of problems: one is the FIXME, which
    causes a live intervals crash on CodeGen/X86/sibcall.ll.
    The second is that it makes machinecse and licm more 
    aggressive (which is a good thing) but also exposes a case
    where licm hoists a set0 and then it doesn't get resunk.
    
    Talking to codegen folks about both these issues, but I need
    this patch in in the meantime.
    
    llvm-svn: 99485
    4690af85
Loading