diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2018-04-03 05:27:28 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2018-04-03 05:27:28 +0000 |
commit | 597bfd84483fdb37d019dd7619dc984e841e6456 (patch) | |
tree | 87e2f5c2a84ee3457b793fde334672b92e5c7a58 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 95dade523a2d0ed646f08c044cf22099a1bfd6a5 (diff) | |
download | bcm5719-llvm-597bfd84483fdb37d019dd7619dc984e841e6456.tar.gz bcm5719-llvm-597bfd84483fdb37d019dd7619dc984e841e6456.zip |
[SLP] Fix issues with debug output in the SLP vectorizer.
The primary issue here is that using NDEBUG alone isn't enough to guard
debug printing -- instead the DEBUG() macro needs to be used so that the
specific pass debug logging check is employed. Without this, every
asserts-enabled build was printing out information when it hit this.
I also fixed another place where we had multiple statements in a DEBUG
macro to use {}s to be a bit cleaner. And I fixed a place that used
`errs()` rather than `dbgs()`.
llvm-svn: 329046
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions