Skip to content

Commit dbd0fae

Browse files
committed
Remove applyOpPatternsAndFold in comment
1 parent 6245b89 commit dbd0fae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Reducer/ReductionTreePass.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ static void applyPatterns(Region &region,
5656
opsInRange.push_back(&op.value());
5757
}
5858

59-
// `applyOpPatternsAndFold` may erase the ops so we can't do the pattern
59+
// `applyOpPatternsGreedily` may erase the ops so we can't do the pattern
6060
// matching in above iteration. Besides, erase op not-in-range may end up in
61-
// invalid module, so `applyOpPatternsAndFold` should come before that
61+
// invalid module, so `applyOpPatternsGreedily` should come before that
6262
// transform.
6363
for (Operation *op : opsInRange) {
64-
// `applyOpPatternsAndFold` returns whether the op is convered. Omit it
64+
// `applyOpPatternsGreedily` returns whether the op is convered. Omit it
6565
// because we don't have expectation this reduction will be success or not.
6666
GreedyRewriteConfig config;
6767
config.strictMode = GreedyRewriteStrictness::ExistingOps;

0 commit comments

Comments
 (0)