Ok.
For future cleanup, It will be better to define a new helper function
is_profile_missing_p (cfun) -- which checks entry count for
instrumentation based FDO, and something else for autofdo.
David
On Fri, Jan 24, 2014 at 9:28 PM, Dehao Chen wrote:
> This patch fixes performance regression for
This patch fixes performance regression for AutoFDO. When the entry
block count is 0, which is quite possible in AutoFDO, it can still
make right optimization decision.
Bootstrapped passed regression test and performance test (improve 0.5%
on average).
OK for google-4_8?
Thanks,
Dehao
Index: gcc