Skip to content

Commit afd54e1

Browse files
author
Djordje Todorovic
committed
[SLPVectorizer] Fix "unused variable" build warning
1 parent 8a71854 commit afd54e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2760,12 +2760,14 @@ class BoUpSLP {
27602760
assert(SD && "primary scheduledata must exist in window");
27612761
assert(isInSchedulingRegion(SD) &&
27622762
"primary schedule data not in window?");
2763+
(void)SD;
27632764
doForAllOpcodes(I, [](ScheduleData *SD) { SD->verify(); });
27642765
}
27652766

27662767
for (auto *SD : ReadyInsts) {
27672768
assert(SD->isSchedulingEntity() && SD->isReady() &&
27682769
"item in ready list not ready?");
2770+
(void)SD;
27692771
}
27702772
}
27712773

0 commit comments

Comments
 (0)