predict.c (determine_unlikely_bbs): Set cgraph node count to 0 when entry block was...
authorJan Hubicka <hubicka@ucw.cz>
Fri, 17 Nov 2017 17:47:36 +0000 (18:47 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 17 Nov 2017 17:47:36 +0000 (17:47 +0000)
commit650fe7323c11e5e116e34d88028909b1221e2cc8
treec5efcdde9c45c7831beb37712307f991d8211360
parentdb16c1841a09f60bbdf2bb825e7e790a437f83c7
predict.c (determine_unlikely_bbs): Set cgraph node count to 0 when entry block was promoted unlikely.

* predict.c (determine_unlikely_bbs): Set cgraph node count to 0
when entry block was promoted unlikely.
(estimate_bb_frequencies): Increase frequency scale.
* profile-count.h (profile_count): Export precision info.
* gcc.dg/tree-ssa/dump-2.c: Fixup template for profile precision
changes.
* gcc.dg/tree-ssa/pr77445-2.c: Fixup template for profile precision
changes.

From-SVN: r254888
gcc/ChangeLog
gcc/predict.c
gcc/profile-count.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/dump-2.c
gcc/testsuite/gcc.dg/tree-ssa/pr77445-2.c