PGO: Scale large counters down to 32-bits

Press ? to show keyboard shortcuts.
Committed
dexonsmithMar 11 2014, 11:18 AM
Parents
rL203591: After doing all the work to compute the target ValueObject we want to evaluateā€¦
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

PGO: Scale large counters down to 32-bits

PGO counters are 64-bit and branch weights are 32-bit. Scale them down
when necessary, instead of just taking the lower 32 bits.

rdar://problem/16276448

rL203592

cfe/trunk/lib/CodeGen/CodeGenPGO.cpp

Loading...

cfe/trunk/test/Profile/Inputs/c-counter-overflows.profdata

Loading...

cfe/trunk/test/Profile/c-counter-overflows.c

Loading...

Add Comment