Skip to content

Commit 0a95a86

Browse files
authored
[VPlan] Fix first-lane comment in sinkScalarOperands (NFC) (#166347)
To follow-up on a post-commit review.
1 parent f037f41 commit 0a95a86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ static bool sinkScalarOperands(VPlan &Plan) {
198198
VPSingleDefRecipe *SinkCandidate;
199199
std::tie(SinkTo, SinkCandidate) = WorkList[I];
200200

201-
// All recipe users of the sink candidate must be in the same block SinkTo
202-
// or all users outside of SinkTo must have only their first lane used. In
201+
// All recipe users of SinkCandidate must be in the same block SinkTo or all
202+
// users outside of SinkTo must only use the first lane of SinkCandidate. In
203203
// the latter case, we need to duplicate SinkCandidate.
204204
auto UsersOutsideSinkTo =
205205
make_filter_range(SinkCandidate->users(), [SinkTo](VPUser *U) {

0 commit comments

Comments
 (0)