This is an archive of the discontinued LLVM Phabricator instance.

[mlir] GreedyPatternRewriteDriver: Support strict mode to GreedyPatternRewriteDriver
ClosedPublic

Authored by springerm on Jan 26 2023, 5:51 AM.

Details

Summary

strictMode is moved to GreedyRewriteConfig to simplify the API and state of rewriter classes. The region-based GreedyPatternRewriteDriver now also supports strict mode.

MultiOpPatternRewriteDriver becomes simpler: fewer method must be overridden.

Depends On: D142614

Diff Detail

Event Timeline

springerm created this revision.Jan 26 2023, 5:51 AM
springerm requested review of this revision.Jan 26 2023, 5:51 AM
Herald added a project: Restricted Project. · View Herald Transcript
springerm retitled this revision from [mlir] GreedyPatternRewriteDriver: Move strict mode to GreedyPatternRewriteDriver to [mlir] GreedyPatternRewriteDriver: Support strict mode to GreedyPatternRewriteDriver.Jan 26 2023, 7:23 AM
mehdi_amini accepted this revision.Jan 26 2023, 5:13 PM
This revision is now accepted and ready to land.Jan 26 2023, 5:13 PM
This revision was landed with ongoing or failed builds.Jan 27 2023, 6:58 AM
This revision was automatically updated to reflect the committed changes.