Page MenuHomePhabricator

[MLIR] fix greedy pattern rewrite driver iteration on change
ClosedPublic

Authored by bondhugula on Apr 4 2020, 8:26 PM.

Details

Summary

Removing dead ops should make the outer loop of the pattern rewriting
driver run again. Although its operands are added to the worklist, if no
changes happenned to them or remaining ops in the worklist, the driver
wouldn't run once again - but it should be.

Diff Detail

Event Timeline

bondhugula created this revision.Apr 4 2020, 8:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2020, 8:26 PM
rriddle accepted this revision.Apr 4 2020, 10:45 PM
This revision is now accepted and ready to land.Apr 4 2020, 10:45 PM
This revision was automatically updated to reflect the committed changes.