This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] TrackingListener: Drop mappings of tracked ops when all handles are dead
ClosedPublic

Authored by springerm on Apr 4 2023, 1:48 AM.

Details

Summary

No replacement ops are needed for tracked ops who's handles are all dead.

Depends On: D147447

Diff Detail

Event Timeline

springerm created this revision.Apr 4 2023, 1:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 1:48 AM
springerm requested review of this revision.Apr 4 2023, 1:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 1:48 AM
This revision is now accepted and ready to land.Apr 4 2023, 2:40 AM
ftynse accepted this revision.Apr 5 2023, 2:25 AM

Longer-term, we may want to have an analysis that finds last use of all handles instead of checking it for every handle and every op.