Allow an optional RewriterBase::Listener to be attached to greedy pattern rewrites, so that clients can listen for IR modifications.
Depends On: D143339
Paths
| Differential D143340
[mlir] GreedyPatternRewriteDriver: Support optional Listener ClosedPublic Authored by springerm on Feb 5 2023, 4:57 AM.
Details Summary Allow an optional RewriterBase::Listener to be attached to greedy pattern rewrites, so that clients can listen for IR modifications. Depends On: D143339
Diff Detail
Event Timelinespringerm retitled this revision from [mlir][WIP] GreedyPatternRewriteDriver: Support optional Listener to [mlir] GreedyPatternRewriteDriver: Support optional Listener.Feb 6 2023, 12:41 AM springerm added a child revision: D143380: [mlir] RewriterBase::Listener: Add notifyOperationModified callback.Feb 6 2023, 3:37 AM This revision is now accepted and ready to land.Feb 22 2023, 1:06 AM This revision was landed with ongoing or failed builds.Feb 22 2023, 1:32 AM Closed by commit rG279c1d2ba7fa: [mlir] GreedyPatternRewriteDriver: Support optional Listener (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 495020 mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
|