This is an archive of the discontinued LLVM Phabricator instance.

Add options to dump block frequency/branch probability info in text.
ClosedPublic

Authored by hjyamauchi on Aug 25 2017, 1:57 PM.

Details

Summary

Add options -print-bfi/-print-bpi that dump block frequency and branch
probability info like -view-block-freq-propagation-dags and
-view-machine-block-freq-propagation-dags do but in text.

This is useful when the graph is very large and complex (the dot command
crashes, lines/edges too close to tell apart, hard to navigate without textual
search) or simply when text is preferred.

Event Timeline

hjyamauchi created this revision.Aug 25 2017, 1:57 PM
davidxl accepted this revision.Aug 25 2017, 4:22 PM

looks like a useful debugging option.

lgtm

This revision is now accepted and ready to land.Aug 25 2017, 4:22 PM
hjyamauchi closed this revision.Aug 25 2017, 5:32 PM