Skip to content

Commit 58c12e3

Browse files
committed
Restore the comments
1 parent ccb4654 commit 58c12e3

File tree

1 file changed

+6
-6
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+6
-6
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2671,8 +2671,8 @@ struct VPWidenLoadRecipe final : public VPWidenMemoryRecipe, public VPValue {
26712671
bool onlyFirstLaneUsed(const VPValue *Op) const override {
26722672
assert(is_contained(operands(), Op) &&
26732673
"Op must be an operand of the recipe");
2674-
// Widened, consecutive loads operations only demand the first lane of their
2675-
// address.
2674+
// Widened, consecutive loads operations only demand the first lane of
2675+
// their address.
26762676
return Op == getAddr() && isConsecutive();
26772677
}
26782678
};
@@ -2711,8 +2711,8 @@ struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
27112711
bool onlyFirstLaneUsed(const VPValue *Op) const override {
27122712
assert(is_contained(operands(), Op) &&
27132713
"Op must be an operand of the recipe");
2714-
// Widened loads only demand the first lane of EVL and consecutive/strided
2715-
// loads only demand the first lane of their address.
2714+
// Widened loads only demand the first lane of EVL and consecutive loads
2715+
// only demand the first lane of their address.
27162716
return Op == getEVL() || (Op == getAddr() && isConsecutive());
27172717
}
27182718
};
@@ -2799,8 +2799,8 @@ struct VPWidenStoreRecipe final : public VPWidenMemoryRecipe {
27992799
bool onlyFirstLaneUsed(const VPValue *Op) const override {
28002800
assert(is_contained(operands(), Op) &&
28012801
"Op must be an operand of the recipe");
2802-
// Widened, consecutive stores only demand the first lane of their
2803-
// address, unless the same operand is also stored.
2802+
// Widened, consecutive stores only demand the first lane of their address,
2803+
// unless the same operand is also stored.
28042804
return Op == getAddr() && isConsecutive() && Op != getStoredValue();
28052805
}
28062806
};

0 commit comments

Comments
 (0)