This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] Add `transform.apply_dce` op
ClosedPublic

Authored by springerm on Jul 21 2023, 7:09 AM.

Details

Summary

Add a transform that eliminates dead operations. This is useful after certain transforms (such as fusion) that create/clone new IR but leave the original IR in place.

Diff Detail

Event Timeline

springerm created this revision.Jul 21 2023, 7:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 7:09 AM
springerm requested review of this revision.Jul 21 2023, 7:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 7:09 AM
nicolasvasilache accepted this revision.Jul 21 2023, 7:40 AM
This revision is now accepted and ready to land.Jul 21 2023, 7:40 AM
This revision was automatically updated to reflect the committed changes.