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 0e814c2 commit 8e6b044Copy full SHA for 8e6b044
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8130,7 +8130,7 @@ void VPRecipeBuilder::collectScaledReductions(VFRange &Range) {
8130
PartialReductionChain Chain = Pair.first;
8131
if (ExtendIsOnlyUsedByPartialReductions(Chain.ExtendA) &&
8132
ExtendIsOnlyUsedByPartialReductions(Chain.ExtendB))
8133
- ScaledReductionMap.emplace_or_assign(Chain.Reduction, Pair.second);
+ ScaledReductionMap.try_emplace(Chain.Reduction, Pair.second);
8134
}
8135
8136
0 commit comments