Skip to content
  • Bill Wendling's avatar
    A machine basic block may end in an unconditional branch, however it may have · a581aacd
    Bill Wendling authored
    more than one successor. Normally, these extra successors are dead. However,
    some of them may branch to exception handling landing pads. If we remove those
    successors, then the landing pads could go away if all predecessors to it are
    removed. Before, it was checking if the direct successor was the landing
    pad. But it could be the result of jumping through multiple basic blocks to get
    to it. If we were to only check for the existence of an EH_LABEL in the basic
    block and not remove successors if it's in there, then it could stop actually
    dead basic blocks from being removed.
    
    llvm-svn: 91092
    a581aacd
Loading