This callback is triggered by finalizeRootUpdate. This allows listeners to listen for in-place op modifications without creating a new RewriterBase subclass.
Depends On: D143340
Paths
| Differential D143380
[mlir] RewriterBase::Listener: Add notifyOperationModified callback ClosedPublic Authored by springerm on Feb 6 2023, 3:37 AM.
Details Summary This callback is triggered by finalizeRootUpdate. This allows listeners to listen for in-place op modifications without creating a new RewriterBase subclass. Depends On: D143340
Diff Detail
Event Timelinespringerm added a parent revision: D143340: [mlir] GreedyPatternRewriteDriver: Support optional Listener.Feb 6 2023, 3:37 AM This revision is now accepted and ready to land.Feb 6 2023, 9:45 AM springerm added a child revision: D144463: [mlir][IR] Use Listener for IR callbacks in OperationFolder.Feb 21 2023, 2:42 AM This revision was landed with ongoing or failed builds.Feb 22 2023, 1:46 AM Closed by commit rGbafc4dfc7645: [mlir] RewriterBase::Listener: Add notifyOperationModified callback (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 499415 mlir/include/mlir/IR/PatternMatch.h
mlir/lib/IR/PatternMatch.cpp
mlir/lib/Transforms/Utils/DialectConversion.cpp
mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
|