forked from OSchip/llvm-project
[LV] Pass dbgs() to verifyFunction call.
This is done in other places of the pass already and improves the output on verification failure.
This commit is contained in:
parent
4c4bda1630
commit
cff5739157
|
@ -8026,7 +8026,7 @@ bool LoopVectorizePass::processLoop(Loop *L) {
|
||||||
Hints.setAlreadyVectorized();
|
Hints.setAlreadyVectorized();
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(!verifyFunction(*L->getHeader()->getParent()));
|
assert(!verifyFunction(*L->getHeader()->getParent(), &dbgs()));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue