Skip to content

Commit 9277ef1

Browse files
committed
[VPlan] Remove stale comment from optimizeInductions (NFC).
As suggested post-commit for a002271, remove the stale comment, SetVector is no longer used here.
1 parent 3e16152 commit 9277ef1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,7 @@ void VPlanTransforms::optimizeInductions(VPlan &Plan, ScalarEvolution &SE) {
528528
Plan, ID, SE, WideIV->getTruncInst(), WideIV->getPHINode()->getType(),
529529
WideIV->getStartValue(), WideIV->getStepValue());
530530

531-
// Update scalar users of IV to use Step instead. Use SetVector to ensure
532-
// the list of users doesn't contain duplicates.
531+
// Update scalar users of IV to use Step instead.
533532
WideIV->replaceUsesWithIf(
534533
Steps, [HasOnlyVectorVFs, WideIV](VPUser &U, unsigned) {
535534
return !HasOnlyVectorVFs || U.usesScalars(WideIV);

0 commit comments

Comments
 (0)