This is an archive of the discontinued LLVM Phabricator instance.

[llvm-reduce] Move most debugging output behind --verbose
ClosedPublic

Authored by aeubanks on Aug 15 2022, 2:51 PM.

Details

Summary

This should cut down on the visual noise when reducing. Still keep output when we run a pass or when we successfully reduce.

Notably, this also suppresses redirecting the test output to stdout/stderr.

Diff Detail

Event Timeline

aeubanks created this revision.Aug 15 2022, 2:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2022, 2:51 PM
aeubanks requested review of this revision.Aug 15 2022, 2:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2022, 2:51 PM
regehr accepted this revision.Aug 15 2022, 2:57 PM

I like this -- especially the part that gets rid of the interestingness test's output

I would prefer to leave the "reduction resulted in invalid module" which is useful because it sometimes is followed by a segfault, and helps provide context about why the segfault happened, but I don't feel strongly about that. I mean it's not hard to re-launch a reduction in verbose mode if llvm-reduce crashes.

This revision is now accepted and ready to land.Aug 15 2022, 2:57 PM
This revision was landed with ongoing or failed builds.Aug 19 2022, 1:27 PM
This revision was automatically updated to reflect the committed changes.