Skip to content

Commit d8da3b4

Browse files
committed
nfc, remove getDefiningRecipe()
1 parent 6be5da5 commit d8da3b4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Transforms/Vectorize/VPlanUtils.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ inline bool isSingleScalar(const VPValue *VPV) {
7373
all_of(Rep->operands(), isSingleScalar));
7474
})
7575
.Case<VPWidenGEPRecipe, VPDerivedIVRecipe, VPBlendRecipe>(
76-
[&](const auto *R) {
77-
return all_of(R->getDefiningRecipe()->operands(), isSingleScalar);
78-
})
76+
[&](const auto *R) { return all_of(R->operands(), isSingleScalar); })
7977
.Case<VPWidenRecipe>([&](const auto *WidenR) {
8078
return PreservesUniformity(WidenR->getOpcode()) &&
8179
all_of(WidenR->operands(), isSingleScalar);

0 commit comments

Comments
 (0)