mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-15 09:51:00 +00:00
CriticalAntiDepBreaker - Assert that we've found the bottom of the critical path. NFCI.
Silences static analyzer null dereference warnings. llvm-svn: 372577
This commit is contained in:
parent
ea118e0f80
commit
74d6018346
@ -457,6 +457,7 @@ BreakAntiDependencies(const std::vector<SUnit> &SUnits,
|
||||
if (!Max || SU->getDepth() + SU->Latency > Max->getDepth() + Max->Latency)
|
||||
Max = SU;
|
||||
}
|
||||
assert(Max && "Failed to find bottom of the critical path");
|
||||
|
||||
#ifndef NDEBUG
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user