llvm/test/CodeGen
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
..
Alpha Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
ARM Enable post-alloc scheduling for all ARM variants except for Thumb1. 2009-10-16 06:11:08 +00:00
Blackfin Move Blackfin intrinsics into the Target/Blackfin directory. 2009-10-15 18:50:52 +00:00
CBackend Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
CellSPU Convert more tests to avoid llvm-as. 2009-09-11 18:36:27 +00:00
CPP Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
Generic Convert more tests to avoid llvm-as. 2009-09-11 18:36:27 +00:00
Mips Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
MSP430 Eliminate some redundant llvm-as calls. 2009-10-12 09:31:55 +00:00
PIC16 Re-apply 84180 with the fixed test case. 2009-10-15 19:26:25 +00:00
PowerPC Add nounwind to this test. 2009-09-24 20:20:08 +00:00
SPARC Eliminate some redundant llvm-as calls. 2009-10-12 09:31:55 +00:00
SystemZ Eliminate more uses of llvm-as and llvm-dis. 2009-09-09 00:09:15 +00:00
Thumb Forgot about ARM::tPUSH. It also has a new writeback operand. 2009-10-02 05:03:07 +00:00
Thumb2 Branches must be the last instruction in a Thumb2 IT block. Approved by Evan Cheng. 2009-10-15 22:25:32 +00:00
X86 Enhance CodePlacementOpt's unconditional intra-loop branch elimination logic 2009-10-17 00:32:43 +00:00
XCore Add some peepholes for signed comparisons using ashr X, X, 32. 2009-10-08 15:38:17 +00:00