Skip to content

Commit 851cf77

Browse files
committed
Add TODO
1 parent e5374bd commit 851cf77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,8 @@ static bool simplifyBranchConditionForVFAndUF(VPlan &Plan, ElementCount BestVF,
14971497
// The vector loop region only executes once. If possible, completely remove
14981498
// the region, otherwise replace the terminator controlling the latch with
14991499
// (BranchOnCond true).
1500+
// TODO: Support all widen induction recipes (e.g.,
1501+
// VPWidenIntOrFpInductionRecipe, VPWidenPointerInductionRecipe).
15001502
auto *Header = cast<VPBasicBlock>(VectorRegion->getEntry());
15011503
if (all_of(Header->phis(), [](VPRecipeBase &Phi) {
15021504
if (auto *R = dyn_cast<VPWidenIntOrFpInductionRecipe>(&Phi))

0 commit comments

Comments
 (0)