This is an archive of the discontinued LLVM Phabricator instance.

[bugpoint] Don't try to reduce pass list if we only have one
AcceptedPublic

Authored by loladiro on Mar 29 2022, 5:13 PM.

Details

Reviewers
fhahn
reames
Summary

If there's only one possible pass, we know that reduction will
do nothing, but currently it still runs a test iterastion on that
one pass. This can take a fair bit of time, particularly since this
runs very early, so the input module is likely to be huge. Just skip
the pass reduction step if there is already only one pass.

Diff Detail

Event Timeline

loladiro created this revision.Mar 29 2022, 5:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2022, 5:13 PM
loladiro requested review of this revision.Mar 29 2022, 5:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2022, 5:13 PM
fhahn accepted this revision.Mar 30 2022, 1:15 AM

LGTM, thanks!

This revision is now accepted and ready to land.Mar 30 2022, 1:15 AM