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 b6a8861 commit 0b5ef27Copy full SHA for 0b5ef27
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -3971,6 +3971,9 @@ void LoopVectorizationPlanner::emitInvalidCostRemarks(
3971
.Case<VPInterleaveRecipe>([](const VPInterleaveRecipe *R) {
3972
return R->getStoredValues().empty() ? Instruction::Load
3973
: Instruction::Store;
3974
+ })
3975
+ .Case<VPReductionRecipe>([](const auto *R) {
3976
+ return RecurrenceDescriptor::getOpcode(R->getRecurrenceKind());
3977
});
3978
3979
// If the next recipe is different, or if there are no other pairs,
0 commit comments