We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df3db6 commit 962a23cCopy full SHA for 962a23c
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -10168,7 +10168,7 @@ bool LoopVectorizePass::processLoop(Loop *L) {
10168
IC = UserIC > 0 ? UserIC : IC;
10169
10170
// FIXME: Enable interleaving for last_active reductions.
10171
- if (any_of(make_second_range(LVL.getReductionVars()), [&](auto &RdxDesc) {
+ if (any_of(LVL.getReductionVars().values(), [](auto &RdxDesc) {
10172
return RecurrenceDescriptor::isFindLastRecurrenceKind(
10173
RdxDesc.getRecurrenceKind());
10174
})) {
0 commit comments