Added error on empty AutoFDO profiles sandbox/ipalachev/autofdo-porting
authorIlya Palachev <i.palachev@samsung.com>
Mon, 29 Jun 2015 13:03:20 +0000 (16:03 +0300)
committeruser <user@tizen-tc-fastmodels.rnd.samsung.ru>
Fri, 10 Jul 2015 12:35:27 +0000 (15:35 +0300)
commita55b8f199d88c8a2913ab6426bdca300fbaf6f3e
treea0b28bf74281f360c0b199c017fc633df5b4dc76
parentd042bb4925c59010aa989eb5d1cb23023c3b21d9
Added error on empty AutoFDO profiles

SPEC CPU 2006 benchmarks showed regression in case when AutoFDO optimization
is used with empty profiles. Such profiles usually has size of 1600 bytes
and contain no actual information about feedback.

Change-Id: I1972a1c5991aec3f58d1c9cd27d34d36699ee5dd
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
gcc/auto-profile.c