This patch improves the dot cfg dump for BFI with edges labeled with branch probability info. This gives a more complete picture of profiling of a function. It also helps to identify bugs in BFI. This of course can be done under an option, but I think it is better to always show the information as it does not clutter the graph in any way. See http://reviews.llvm.org/F2090394 as an example of BFI graph with BP info.
Details
Details
Diff Detail
Diff Detail