Skip to content

Commit 5f56eaf

Browse files
committed
[VPlan] Remove duplicated VPDerivedIVRecipe handling (NFC).
Also handled by an earlier, more general if above.
1 parent fd8fb71 commit 5f56eaf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanUtils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ inline bool isUniformAfterVectorization(const VPValue *VPV) {
5454
((Instruction::isBinaryOp(VPI->getOpcode()) ||
5555
VPI->getOpcode() == VPInstruction::PtrAdd) &&
5656
all_of(VPI->operands(), isUniformAfterVectorization));
57-
if (auto *IV = dyn_cast<VPDerivedIVRecipe>(VPV))
58-
return all_of(IV->operands(), isUniformAfterVectorization);
5957

6058
// VPExpandSCEVRecipes must be placed in the entry and are alway uniform.
6159
return isa<VPExpandSCEVRecipe>(VPV);

0 commit comments

Comments
 (0)