Page MenuHomePhabricator

WIP: Try adding method to stop after specific runs of passes
ClosedPublic

Authored by arsenm on Thu, Nov 29, 3:16 PM.

Details

Summary

Currently if you use -{start,stop}-{before,after}, it picks
the first instance with the matching pass name. If you run
the same pass multiple times, there's no way to distinguish them.

Allow specifying a run index with ,N to specify which you mean (e.g. -stop-before=si-shrink-instructions,1")

Just handle -stop-after before committing to how this should work

Diff Detail

Event Timeline

arsenm created this revision.Thu, Nov 29, 3:16 PM
MatzeB accepted this revision.Sun, Dec 2, 6:49 PM

Seems useful. Please implement consistently for all stop/start args and document it somewhere.

This revision is now accepted and ready to land.Sun, Dec 2, 6:49 PM
arsenm updated this revision to Diff 176456.Mon, Dec 3, 12:36 PM

Make more complete

arsenm updated this revision to Diff 176499.Mon, Dec 3, 3:36 PM

Forgot to add file

thegameg accepted this revision.Mon, Dec 3, 9:33 PM

LGTM, thanks!

arsenm closed this revision.Tue, Dec 4, 9:48 AM

r348285