diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-08 15:15:51 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-08 15:15:51 +0000 |
commit | a74a34e66cc10e78e90a06cec9701c749c429a6a (patch) | |
tree | 5490f5b728b61ce913e53ff05af703efe199fa22 /gcc/ipa-inline.c | |
parent | 32b3df079a3af3933c2b137cb1f772e96ca9499d (diff) | |
download | gcc-a74a34e66cc10e78e90a06cec9701c749c429a6a.tar.gz |
* cgraph.c (cgraph_edge::maybe_hot_p): Do not check
flag_branch_probabilities.
* ipa-inline.c (edge_badness): Likewise.
* ipa-profile.c (ipa_propagate_frequency_1): Likewise.
* postreload-gcse.c (eliminate_partially_redundant_load): Likewise.
* predict.c (maybe_hot_frequency_p): Likewise.
(probably_never_executed): Likewise.
* sched-ebb.c (schedule_ebbs): Likewise.
* sched-rgn.c (find_single_block_region): Likewise.
* tracer.c (tail_duplicate): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249020 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 64c9ebd6692..8924f7eb15f 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1078,7 +1078,7 @@ edge_badness (struct cgraph_edge *edge, bool dump) numerator = ((sreal) 1 >> 8); if (caller->count > profile_count::zero ()) numerator *= caller->count.to_gcov_type (); - else if (opt_for_fn (caller->decl, flag_branch_probabilities)) + else if (caller->count.initialized_p ()) numerator = numerator >> 11; denominator = growth; |