give branch folding a simple heuristic to decide which block to split so that
authorChris Lattner <sabre@nondot.org>
Wed, 1 Nov 2006 19:36:29 +0000 (19:36 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 1 Nov 2006 19:36:29 +0000 (19:36 +0000)
commitd4bf3c2fd60975b30cd067b59f743a3ea45e45b5
tree836ed1925c89f121a914cb1557adc0abf75c8814
parentf4208026aabcb8c3acf79a9508d92f7d8de7801c
give branch folding a simple heuristic to decide which block to split so that
it inserts an uncond branch where it is less likely to cause a problem.  This
fixes some perf issues on ppc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31354 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp