llvm-6502/lib
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
..
Analysis Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
Archive Mark checkSignature const, and in turn stop casting away const from 2012-09-05 22:09:23 +00:00
AsmParser Add in support for SPIR to LLVM core. This adds a new target and two new calling conventions. 2012-10-01 17:01:31 +00:00
Bitcode Use method to query if there are attributes. 2012-10-04 07:19:46 +00:00
CodeGen Don't crash on extra evil irreducible control flow. 2012-10-08 22:06:44 +00:00
DebugInfo Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-18 02:01:41 +00:00
ExecutionEngine Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Add names for the accelerator table sections so that they can 2012-10-08 21:41:30 +00:00
Object Reverting r 160419. 2012-07-19 21:43:55 +00:00
Support Improve overflow detection in StringRef::getAsUnsignedInteger(). 2012-10-02 20:01:48 +00:00
TableGen tblgen: Use appropriate LLVM-style RTTI functions. 2012-10-05 03:32:00 +00:00
Target PR12716: PPC crashes on vector compare 2012-10-08 18:59:53 +00:00
Transforms Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
VMCore Begin the transition to using the AttributesImpl object for the Attributes ivar. 2012-10-08 21:47:17 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile