[PATCH] [blockfreq] Added BlockFrequencyInfo::view for displaying the block frequency propagation dag via graphviz.

Michael Gottesman mgottesman at apple.com
Wed Nov 13 16:28:41 PST 2013


Hello llvm-commits.

This patch adds support to the BlockFrequency pass for displaying a graphviz graph of the CFG with all the relevant nodes annotated with either fractional or integer block frequencies (i.e. block frequencies that have not been divided by the entry frequency). This is useful when one is debugging the block frequency pass since it allows one to easily visualize:

1. The manner in which block frequencies are propagated through the CFG.
2. The accuracy (or lack there of) of the block frequency implementation.

Please review,
Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-blockfreq-Added-BlockFrequencyInfo-view-for-displayi.patch
Type: application/octet-stream
Size: 5442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131113/4012acce/attachment.obj>
-------------- next part --------------




More information about the llvm-commits mailing list