llvm-6502/test/CodeGen
Jakob Stoklund Olesen 6be75ae196 Don't crash on extra evil irreducible control flow.
When the CFG contains a loop with multiple entry blocks, the traces
computed by MachineTraceMetrics don't always have the same nice
properties. Loop back-edges are normally excluded from traces, but
MachineLoopInfo doesn't recognize loops with multiple entry blocks, so
those back-edges may be included.

Avoid asserting when that happens by adding an isEarlierInSameTrace()
function that accurately determines if a dominating block is part of the
same trace AND is above the currrent block in the trace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165434 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-08 22:06:44 +00:00
..
ARM ARM: locate user-defined text sections next to default text. 2012-10-04 21:33:24 +00:00
CellSPU Fix broken tests. 2012-10-02 15:49:34 +00:00
CPP
Generic
Hexagon LLVM Bug Fix 13709: Remove needless lsr(Rp, #32) instruction access the 2012-09-05 16:01:40 +00:00
MBlaze
Mips Patch for integer multiply, signed/unsigned, long/long long. 2012-10-05 18:27:54 +00:00
MSP430
NVPTX
PowerPC PR12716: PPC crashes on vector compare 2012-10-08 18:59:53 +00:00
SPARC Fix broken tests. 2012-10-02 15:49:34 +00:00
Thumb Fix Thumb2 fixup kind in the integrated-as. 2012-09-01 15:06:36 +00:00
Thumb2 Add LLVM support for Swift. 2012-09-29 21:43:49 +00:00
X86 Don't crash on extra evil irreducible control flow. 2012-10-08 22:06:44 +00:00
XCore