This is an archive of the discontinued LLVM Phabricator instance.

[mlir] optionally allow repeated handles in transform dialect
ClosedPublic

Authored by ftynse on Dec 15 2022, 10:51 AM.

Details

Summary

Some operations may be able to deal with handles pointing to the same
operation when the handle is consumed. For example, merge handles with
deduplication doesn't actually destroy payload operations and is
specifically intended to remove the situation with duplicates. Add a
method to the transform interface to allow ops to declare they can
support repeated handles.

Diff Detail

Event Timeline

ftynse created this revision.Dec 15 2022, 10:51 AM
ftynse requested review of this revision.Dec 15 2022, 10:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 10:51 AM
springerm accepted this revision.Dec 16 2022, 7:43 AM
This revision is now accepted and ready to land.Dec 16 2022, 7:43 AM