Skip to content

Commit 3bdb596

Browse files
committed
add comments
1 parent c6eb53f commit 3bdb596

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,8 @@ struct WarpOpScfForOp : public WarpDistributionPattern {
15781578
});
15791579

15801580
// Any forOp result that is not already yielded by the warpOp
1581-
// region is also considered escaping.
1581+
// region is also considered escaping and must be returned by the
1582+
// original warpOp.
15821583
for (OpResult forResult : forOp.getResults()) {
15831584
// Check if this forResult is already yielded by the yield op.
15841585
if (llvm::is_contained(yield->getOperands(), forResult)) {

0 commit comments

Comments
 (0)