llvm/include
Jakob Stoklund Olesen 6ffcd5efe1 Rename isEarlierInSameTrace to isUsefulDominator.
In very rare cases caused by irreducible control flow, the dominating
block can have the same trace head without actually being part of the
trace.

As long as such a dominator still has valid instruction depths, it is OK
to use it for computing instruction depths.

Rename the function to avoid lying, and add a check that instruction
depths are computed for the dominator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176668 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-07 23:55:49 +00:00
..
llvm Rename isEarlierInSameTrace to isUsefulDominator. 2013-03-07 23:55:49 +00:00
llvm-c Add multithreading functions and shutdown to the C API. Patch by Moritz 2013-02-17 16:35:51 +00:00