1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

AggressiveAntiDepBreaker - silence static analyzer null dereference warning. NFCI.

Assert that we've found the critical path.

llvm-svn: 372759
This commit is contained in:
Simon Pilgrim 2019-09-24 13:57:51 +00:00
parent e9b83d8abf
commit 6d37aa5083

View File

@ -790,7 +790,7 @@ unsigned AggressiveAntiDepBreaker::BreakAntiDependencies(
CriticalPathSU = SU;
}
}
assert(CriticalPathSU && "Failed to find SUnit critical path");
CriticalPathMI = CriticalPathSU->getInstr();
}