We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
applyPatternsGreedily
1 parent 4a51193 commit 434a789Copy full SHA for 434a789
lib/Dialect/Substrait/Transforms/EmitDeduplication.cpp
@@ -37,8 +37,8 @@ struct SubstraitEmitDeduplicationPass
37
void SubstraitEmitDeduplicationPass::runOnOperation() {
38
mlir::RewritePatternSet patterns(&getContext());
39
populateEmitDeduplicationPatterns(patterns);
40
- if (failed(mlir::applyPatternsAndFoldGreedily(getOperation(),
41
- std::move(patterns)))) {
+ if (failed(
+ mlir::applyPatternsGreedily(getOperation(), std::move(patterns)))) {
42
Location loc = getOperation()->getLoc();
43
emitError(loc) << "emit deduplication: pattern application failed";
44
signalPassFailure();
0 commit comments