mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[LoopVersion] Move an assert [nfc-ish]
This commit is contained in:
parent
b011bc0424
commit
2a3dbbb793
@ -44,11 +44,11 @@ LoopVersioning::LoopVersioning(const LoopAccessInfo &LAI,
|
||||
AliasChecks(Checks.begin(), Checks.end()),
|
||||
Preds(LAI.getPSE().getUnionPredicate()), LAI(LAI), LI(LI), DT(DT),
|
||||
SE(SE) {
|
||||
assert(L->getUniqueExitBlock() && "No single exit block");
|
||||
}
|
||||
|
||||
void LoopVersioning::versionLoop(
|
||||
const SmallVectorImpl<Instruction *> &DefsUsedOutside) {
|
||||
assert(VersionedLoop->getUniqueExitBlock() && "No single exit block");
|
||||
assert(VersionedLoop->isLoopSimplifyForm() &&
|
||||
"Loop is not in loop-simplify form");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user