[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:
Florian Hahn 2020-07-06 13:52:48 +01:00
parent 4c4bda1630
commit cff5739157
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }