[llvm] 3ad0bda - [SLP] Address post commit comment from 2e50760
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 18 10:57:26 PST 2022
Author: Philip Reames
Date: 2022-02-18T10:57:15-08:00
New Revision: 3ad0bdae8f0b2dbf2ddc8505ccebc921b39c1af4
URL: https://github.com/llvm/llvm-project/commit/3ad0bdae8f0b2dbf2ddc8505ccebc921b39c1af4
DIFF: https://github.com/llvm/llvm-project/commit/3ad0bdae8f0b2dbf2ddc8505ccebc921b39c1af4.diff
LOG: [SLP] Address post commit comment from 2e50760
Added:
Modified:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 024890e5845ef..4a731107f46de 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -7930,7 +7930,7 @@ void BoUpSLP::scheduleBlock(BlockScheduling *BS) {
BS->verify();
#endif
-#ifndef NDEBUG
+#if !defined(NDEBUG) || defined(EXPENSIVE_CHECKS)
// Check that all schedulable entities got scheduled
for (auto *I = BS->ScheduleStart; I != BS->ScheduleEnd; I = I->getNextNode()) {
BS->doForAllOpcodes(I, [&](ScheduleData *SD) {
More information about the llvm-commits
mailing list