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

Michael Gottesman mgottesman at apple.com
Wed Nov 13 18:33:26 PST 2013


r194654.

On Nov 13, 2013, at 5:58 PM, Manman Ren <manman.ren at gmail.com> wrote:

> 
> LGTM except the typo of "propogation".
> 
> Thanks,
> Manman
> 
> 
> On Wed, Nov 13, 2013 at 4:28 PM, Michael Gottesman <mgottesman at apple.com> wrote:
> 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
> 
> 
> 
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131113/724e0792/attachment.html>


More information about the llvm-commits mailing list