[PATCH AutoFDO/3]Set profile_count accordingly for AutoFDO.

bin.cheng bin.cheng@linux.alibaba.com
Wed Oct 31 08:37:00 GMT 2018


Hi,
This is a simple patch setting profile_count with according precision category in
AutoFDO, as well as setting profile_count for exit basic block.

Bootstrap and test on x86_64 in patch set.  Is it OK?

Thanks,
bin
2018-10-31  Bin Cheng  <bin.cheng@linux.alibaba.com>

	* auto-profile.c (afdo_calculate_branch_prob): Convert profile_count
	to afdo precision quality.
	(afdo_callsite_hot_enough_for_early_inline): Ditto.
	(afdo_annotate_cfg): Set profile_count for exit basic block.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Set-profile-count-accordingly-for-AutoFDO.patch
Type: application/octet-stream
Size: 1896 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181031/882dea7e/attachment.obj>


More information about the Gcc-patches mailing list