Skip to content

Commit 731a481

Browse files
committed
move comment
Signed-off-by: Max Dawkins <[email protected]>
1 parent 8350c93 commit 731a481

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Dialect/SCF/IR/SCF.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,13 +1767,12 @@ struct ForallOpSingleOrZeroIterationDimsFolder
17671767
}
17681768
};
17691769

1770+
/// Replace all induction vars with a single trip count with their lower bound.
17701771
struct ForallOpReplaceConstantInductionVar : public OpRewritePattern<ForallOp> {
17711772
using OpRewritePattern<ForallOp>::OpRewritePattern;
17721773

17731774
LogicalResult matchAndRewrite(ForallOp op,
17741775
PatternRewriter &rewriter) const override {
1775-
// Replace all induction vars with a single trip count with their lower
1776-
// bound.
17771776
Location loc = op.getLoc();
17781777
bool changed = false;
17791778
for (auto [lb, ub, step, iv] :

0 commit comments

Comments
 (0)