Skip to content
  • Cameron Zwarich's avatar
    Fix a conversion from a forward iterator to a reverse iterator in · ddeabf78
    Cameron Zwarich authored
    MachineBasicBlock::SplitCriticalEdge. Since this is an iterator rather than
    an instr_iterator, the isBundled() check only passes if getFirstTerminator()
    returned end() and the garbage memory happens to lean that way.
    
    Multiple successors can be present without any terminator instructions in the
    case of exception handling with a fallthrough.
    
    llvm-svn: 175383
    ddeabf78
Loading