diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-06-08 17:15:51 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-06-08 15:15:51 +0000 |
commit | ee4e85b78f5dab1f297aa9278694593c18fe1ae0 (patch) | |
tree | 5490f5b728b61ce913e53ff05af703efe199fa22 /gcc/sched-ebb.c | |
parent | ae5512dd4fbfb031cc967fc154a534863d4c05f5 (diff) | |
download | gcc-ee4e85b78f5dab1f297aa9278694593c18fe1ae0.zip gcc-ee4e85b78f5dab1f297aa9278694593c18fe1ae0.tar.gz gcc-ee4e85b78f5dab1f297aa9278694593c18fe1ae0.tar.bz2 |
cgraph.c (cgraph_edge::maybe_hot_p): Do not check flag_branch_probabilities.
* 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.
From-SVN: r249020
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r-- | gcc/sched-ebb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c index 592fc1f..9123343 100644 --- a/gcc/sched-ebb.c +++ b/gcc/sched-ebb.c @@ -622,7 +622,7 @@ schedule_ebbs (void) if (n_basic_blocks_for_fn (cfun) == NUM_FIXED_BLOCKS) return; - if (profile_info && flag_branch_probabilities) + if (profile_info && profile_status_for_fn (cfun) == PROFILE_READ) probability_cutoff = PARAM_VALUE (TRACER_MIN_BRANCH_PROBABILITY_FEEDBACK); else probability_cutoff = PARAM_VALUE (TRACER_MIN_BRANCH_PROBABILITY); |