Skip to content
  • Chris Lattner's avatar
    move single basic blocks that are neither fallen into nor fall out of into · ceb51d84
    Chris Lattner authored
    a place more useful.  In particular, if we can put them in a place where code
    will be able to fall into it, do so.  Otherwise, put it in a place it can fall
    through into a successor.  Otherwise, if preventing a fallthrough, move to the
    end of the function, out of the way.
    
    This deletes several hundred unconditional branches from spass.
    
    llvm-svn: 31149
    ceb51d84
Loading