Skip to content

Commit 962a23c

Browse files
committed
Clean up any_of with values() iterator
1 parent 5df3db6 commit 962a23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10168,7 +10168,7 @@ bool LoopVectorizePass::processLoop(Loop *L) {
1016810168
IC = UserIC > 0 ? UserIC : IC;
1016910169

1017010170
// FIXME: Enable interleaving for last_active reductions.
10171-
if (any_of(make_second_range(LVL.getReductionVars()), [&](auto &RdxDesc) {
10171+
if (any_of(LVL.getReductionVars().values(), [](auto &RdxDesc) {
1017210172
return RecurrenceDescriptor::isFindLastRecurrenceKind(
1017310173
RdxDesc.getRecurrenceKind());
1017410174
})) {

0 commit comments

Comments
 (0)