Skip to content

Commit

Permalink
[VPlan] Fix comment formatting from 43842b8.
Browse files Browse the repository at this point in the history
  • Loading branch information
fhahn committed Apr 28, 2022
1 parent 43842b8 commit 2883de0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Expand Up @@ -429,7 +429,8 @@ void VPlanTransforms::optimizeInductions(VPlan &Plan, ScalarEvolution &SE) {
IV->getStartValue(), Step, TruncI ? TruncI->getType() : nullptr);
HeaderVPBB->insert(Steps, HeaderVPBB->getFirstNonPhi());

// Update scalar users of IV to use Step instead. Use SetVector to ensure the list of users doesn't contain duplicates.
// Update scalar users of IV to use Step instead. Use SetVector to ensure
// the list of users doesn't contain duplicates.
SetVector<VPUser *> Users(IV->user_begin(), IV->user_end());
for (VPUser *U : Users) {
VPRecipeBase *R = cast<VPRecipeBase>(U);
Expand Down

0 comments on commit 2883de0

Please sign in to comment.