[llvm-dev] Computing block profile weights

Jonas Wagner via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 2 01:43:17 PST 2016


An addendum to fix a mistake in terminology:

2) Compute a block's weight as `function_samples * block_weight /
> sum_of_block_weights_in_function`
>

This should be `function_samples * block_frequency /
sum_of_block_frequencies_in_function`

Cheers,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161202/9e103d52/attachment.html>


More information about the llvm-dev mailing list