auto-profile.c (afdo_annotate_cfg): Call update_max_bb_count even if autofdo counts...
authorBin Cheng <bin.cheng@linux.alibaba.com>
Fri, 14 Dec 2018 05:46:55 +0000 (05:46 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 14 Dec 2018 05:46:55 +0000 (05:46 +0000)
commitb30bde1063f9b0399d1d06fdc08aec12bb025843
treef5844c3afbc5b35afdeb9db37806ef5eb12b9905
parent7f3477fb787cc885bfb11d2e8c8dae675a3129d0
auto-profile.c (afdo_annotate_cfg): Call update_max_bb_count even if autofdo counts are all zeros.

* auto-profile.c (afdo_annotate_cfg): Call update_max_bb_count even
if autofdo counts are all zeros.

From-SVN: r267121
gcc/ChangeLog
gcc/auto-profile.c