Skip to content

Commit 56c1462

Browse files
committed
Address comment
1 parent 83573f5 commit 56c1462

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,9 +1447,7 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
14471447
SmallVector<VPValue *> HeaderMasks = collectAllHeaderMasks(Plan);
14481448

14491449
for (VPUser *U : Plan.getVF().users()) {
1450-
auto *CurRecipe = cast<VPRecipeBase>(U);
1451-
1452-
if (auto *R = dyn_cast<VPReverseVectorPointerRecipe>(CurRecipe))
1450+
if (auto *R = dyn_cast<VPReverseVectorPointerRecipe>(U))
14531451
R->setOperand(1, &EVL);
14541452
}
14551453

0 commit comments

Comments
 (0)