Re: [GOOGLE] Add flag to enalbe AutoFDO accurate mode

2013-10-18 Thread Xinliang David Li
ok. David On Tue, Oct 15, 2013 at 10:58 AM, Dehao Chen wrote: > This patch add a new flag to let user to tell compiler that the > AutoFDO profile is accurate. So the compiler will assume function > without any sample is UNLIKELY_EXECUTED. This could save 10%~20% text > section size. > > Bootstra

[GOOGLE] Add flag to enalbe AutoFDO accurate mode

2013-10-15 Thread Dehao Chen
This patch add a new flag to let user to tell compiler that the AutoFDO profile is accurate. So the compiler will assume function without any sample is UNLIKELY_EXECUTED. This could save 10%~20% text section size. Bootstrapped and passed regression test. OK for google-4_8 branch? Thanks, Dehao