This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Expose region utils functions
ClosedPublic

Authored by clementval on Nov 18 2021, 6:32 AM.

Details

Summary

As discussed in D109579, this patch exposes runRegionDCE and
eraseUnreachableBlocks so they can be used as separate utilities in
other passes.

Diff Detail

Event Timeline

clementval created this revision.Nov 18 2021, 6:32 AM
clementval requested review of this revision.Nov 18 2021, 6:32 AM
rriddle accepted this revision.Nov 18 2021, 10:33 AM
This revision is now accepted and ready to land.Nov 18 2021, 10:33 AM
mehdi_amini accepted this revision.Nov 18 2021, 4:25 PM
This revision was automatically updated to reflect the committed changes.