This is an archive of the discontinued LLVM Phabricator instance.

[mlir][NFC] GreedyPatternRewriteDriver: Remove OpPatternRewriteDriver
ClosedPublic

Authored by springerm on Jan 17 2023, 7:09 AM.

Details

Summary

The MultiOpPatternRewriteDriver can be reused. This gives us better debug messages and more code reuse. Debug messages such as ** Replace: (op name) were previously not printed when using the applyOpPatternsAndFold(Operation *, ...) overload.

Depends On: D141945

Diff Detail

Event Timeline

springerm created this revision.Jan 17 2023, 7:09 AM
springerm requested review of this revision.Jan 17 2023, 7:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 7:09 AM
This revision is now accepted and ready to land.Jan 17 2023, 7:46 AM
mehdi_amini accepted this revision.Jan 25 2023, 10:34 AM