commit | a7bef4a4e49f461984c04ef6be6eef3f1c023558 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Nov 18 20:47:54 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Nov 18 20:47:54 2006 +0000 |
tree | bd4816e1a3b0d10d4d5fabd7b9f3b8c382636769 | |
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