[llvm] cff5739 - [LV] Pass dbgs() to verifyFunction call.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 6 07:10:25 PDT 2020
Author: Florian Hahn
Date: 2020-07-06T15:09:20+01:00
New Revision: cff57391575da6bcc6f31e196bd73fa928b3abcb
URL: https://github.com/llvm/llvm-project/commit/cff57391575da6bcc6f31e196bd73fa928b3abcb
DIFF: https://github.com/llvm/llvm-project/commit/cff57391575da6bcc6f31e196bd73fa928b3abcb.diff
LOG: [LV] Pass dbgs() to verifyFunction call.
This is done in other places of the pass already and improves the output
on verification failure.
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 0c96842480c1..e3e0727b6b38 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8026,7 +8026,7 @@ bool LoopVectorizePass::processLoop(Loop *L) {
Hints.setAlreadyVectorized();
}
- assert(!verifyFunction(*L->getHeader()->getParent()));
+ assert(!verifyFunction(*L->getHeader()->getParent(), &dbgs()));
return true;
}
More information about the llvm-commits
mailing list