[PATCH] PGO: scale counters to 32-bits

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Mar 11 11:28:31 PDT 2014


On Mar 10, 2014, at 11:00 PM, Justin Bogner <mail at justinbogner.com> wrote:

> "Duncan P. N. Exon Smith" <dexonsmith at apple.com> writes:
>> PGO counters are 64-bit and branch weights are 32-bit.  This patch
>> updates the code to scale them down when necessary, instead of just
>> using the lower 32 bits.
> 
> The code LGTM. I have some comments about your comments :)

Thanks for the review!  Committed in r203592, as well as a README fixup
in r203593.



More information about the cfe-commits mailing list