diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-18 20:47:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-18 20:47:54 +0000 |
commit | a7bef4a4e49f461984c04ef6be6eef3f1c023558 (patch) | |
tree | bd4816e1a3b0d10d4d5fabd7b9f3b8c382636769 /include/llvm/CodeGen/MachineBasicBlock.h | |
parent | 822a87998387a4c52be5162523f09cc8e5e5afb7 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
0 files changed, 0 insertions, 0 deletions