Skip to content

Commit 434a789

Browse files
chore: adapt to renamed applyPatternsGreedily
Signed-off-by: Ingo Müller <[email protected]>
1 parent 4a51193 commit 434a789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Dialect/Substrait/Transforms/EmitDeduplication.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ struct SubstraitEmitDeduplicationPass
3737
void SubstraitEmitDeduplicationPass::runOnOperation() {
3838
mlir::RewritePatternSet patterns(&getContext());
3939
populateEmitDeduplicationPatterns(patterns);
40-
if (failed(mlir::applyPatternsAndFoldGreedily(getOperation(),
41-
std::move(patterns)))) {
40+
if (failed(
41+
mlir::applyPatternsGreedily(getOperation(), std::move(patterns)))) {
4242
Location loc = getOperation()->getLoc();
4343
emitError(loc) << "emit deduplication: pattern application failed";
4444
signalPassFailure();

0 commit comments

Comments
 (0)