This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Respect shouldPrint in dump-dot-all
ClosedPublic

Authored by Amir on Jun 27 2022, 11:35 PM.

Details

Summary

Don't dump dot CFG graph for functions that should not be printed.

Diff Detail

Event Timeline

Amir created this revision.Jun 27 2022, 11:35 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir requested review of this revision.Jun 27 2022, 11:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2022, 11:35 PM
rafauler accepted this revision.Jun 28 2022, 4:34 PM

Thanks

This revision is now accepted and ready to land.Jun 28 2022, 4:34 PM
Amir updated this revision to Diff 441116.Jun 29 2022, 12:11 PM

Also don't print loop info

maksfb added inline comments.Jun 29 2022, 2:35 PM
bolt/lib/Core/BinaryFunction.cpp
3118
Amir updated this revision to Diff 441198.Jun 29 2022, 4:17 PM

dbgs -> outs

Amir marked an inline comment as done.Jun 29 2022, 4:19 PM
Amir updated this revision to Diff 441200.Jun 29 2022, 4:21 PM

Use lower-case message

maksfb accepted this revision.Jun 29 2022, 4:45 PM

LGTM, but drop "[NFC]".

Amir retitled this revision from [BOLT][NFC] Respect shouldPrint in dump-dot-all to [BOLT] Respect shouldPrint in dump-dot-all.Jun 29 2022, 4:59 PM
This revision was automatically updated to reflect the committed changes.