Dan Gohman 3bdd8de280 Enhance CodePlacementOpt's unconditional intra-loop branch elimination logic
to be more general and understand more varieties of loops.

Teach CodePlacementOpt to reorganize the basic blocks of a loop so that
they are contiguous. This also includes a fair amount of logic for preserving
fall-through edges while doing so. This fixes a BranchFolding-ism where blocks
which can't be made to use a fall-through edge and don't conveniently fit
anywhere nearby get tossed out to the end of the function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84295 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-17 00:32:43 +00:00
..
2009-09-23 18:20:27 +00:00
2009-09-11 18:36:27 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:09:05 +00:00
2009-10-16 22:07:19 +00:00