aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-18 20:47:54 +0000
committerChris Lattner <sabre@nondot.org>2006-11-18 20:47:54 +0000
commit47ce26158f50079ffc7c2d8df221b26c75ef111e (patch)
tree71faf8d0c790385014afe13fc7c6bfb62987d3e6 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent95adf8f1da3aebd0a9eaefe607c05177951a389d (diff)
downloadllvm-47ce26158f50079ffc7c2d8df221b26c75ef111e.zip
llvm-47ce26158f50079ffc7c2d8df221b26c75ef111e.tar.gz
llvm-47ce26158f50079ffc7c2d8df221b26c75ef111e.tar.bz2
Minor code layout tweak: if we have something like this:
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions