In the experiment, about 60% (1019/1699) profile data files are empty (all counters are zero).
2014-07-22 21:39 GMT+08:00 Richard Biener <richard.guent...@gmail.com>: > On Mon, Jul 21, 2014 at 7:13 AM, Pengfei Yuan <0xcool...@gmail.com> wrote: >> Hi, >> >> This patch tunes optimization options based on profile data: >> * Disable PGO options if profile is not available or empty. >> * Optimize for size if profile is available but empty. > > Err ... these don't seem interesting cases to "optimize" for? > > Richard.