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 6be5da5 commit d8da3b4Copy full SHA for d8da3b4
llvm/lib/Transforms/Vectorize/VPlanUtils.h
@@ -73,9 +73,7 @@ inline bool isSingleScalar(const VPValue *VPV) {
73
all_of(Rep->operands(), isSingleScalar));
74
})
75
.Case<VPWidenGEPRecipe, VPDerivedIVRecipe, VPBlendRecipe>(
76
- [&](const auto *R) {
77
- return all_of(R->getDefiningRecipe()->operands(), isSingleScalar);
78
- })
+ [&](const auto *R) { return all_of(R->operands(), isSingleScalar); })
79
.Case<VPWidenRecipe>([&](const auto *WidenR) {
80
return PreservesUniformity(WidenR->getOpcode()) &&
81
all_of(WidenR->operands(), isSingleScalar);
0 commit comments