Skip to content
  • Alkis Evlogimenos's avatar
    Refactor rewinding code for finding the first terminator of a basic · af2de484
    Alkis Evlogimenos authored
    block into MachineBasicBlock::getFirstTerminator().
    
    This also fixes a bug in the implementation of the above in both
    RegAllocLocal and InstrSched, where instructions where added after the
    terminator if the basic block's only instruction was a terminator (it
    shouldn't matter for RegAllocLocal since this case never occurs in
    practice).
    
    llvm-svn: 11748
    af2de484
Loading