This is an archive of the discontinued LLVM Phabricator instance.

IR printing improvement for loop passes
ClosedPublic

Authored by fedor.sergeev on Nov 20 2017, 6:30 AM.

Details

Summary

Loop-pass printing is somewhat deficient since it does not provide the
context around the loop (e.g. preheader). This context information becomes
pretty essential when analyzing transformations that move stuff out of the loop.

Extending printLoop to cover preheader and exit blocks (if any).

Event Timeline

fedor.sergeev created this revision.Nov 20 2017, 6:30 AM
fedor.sergeev added subscribers: skatkov, apilipenko.
sanjoy accepted this revision.Nov 21 2017, 8:52 PM

lgtm

This revision is now accepted and ready to land.Nov 21 2017, 8:52 PM
This revision was automatically updated to reflect the committed changes.