Skip to content
  • Chris Lattner's avatar
    rework FoldBranchToCommonDest to exit earlier when there is a bonus · fba5cdfc
    Chris Lattner authored
    instruction around, reducing work.
    
    Greatly simplify handling of debug instructions.  There is no need to
    build up a vector of them and then move them into the one predecessor
    if we're processing a block.  Instead just rescan the block and *copy*
    them into the pred.  If a block gets merged into multiple preds, this
    will retain more debug info.
    
    llvm-svn: 129502
    fba5cdfc
Loading