This is an archive of the discontinued LLVM Phabricator instance.

[mlir][NFC] Move simplifyRegions to GreedyPatternRewriteDriver
AcceptedPublic

Authored by rriddle on Mar 18 2021, 12:21 PM.

Details

Reviewers
lattner
bollu
Summary

It was initially split so that it could potentially be used as a general utility, but this split was very premature and no need for the split has ever materialized (it's been about 2 years now). This revision moves the logic for simplifyRegions into the greedy driver, which is and has been the only user. If a need arises to have these components be generally available, we can move them back out depending on the need of that use case.

Depends On D98755

Diff Detail