Skip to content
  • Chris Lattner's avatar
    Minor code layout tweak: if we have something like this: · 47ce2615
    Chris Lattner authored
      if (cond) goto BB2
    BB1:
        ...
        return;
    BB2:
       ...
    
    Move BB1 to the end of the function so that the code falls through in the
    non-return case.  This has the effect of moving assert (and other no-return
    call) bodies and return blocks out of loops.
    
    llvm-svn: 31855
    47ce2615
Loading