diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-11-13 23:14:24 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-11-13 22:14:24 +0000 |
commit | 367c959f0303e11e0a6d875abba7d03c72686668 (patch) | |
tree | 6ad9a3ecdd31de7654211a4e1a86bcadfffc11ca /gcc/ipa-inline-analysis.c | |
parent | b914768c1968d924d77bbe3f4e707c6105f3682c (diff) | |
download | gcc-367c959f0303e11e0a6d875abba7d03c72686668.zip gcc-367c959f0303e11e0a6d875abba7d03c72686668.tar.gz gcc-367c959f0303e11e0a6d875abba7d03c72686668.tar.bz2 |
ipa-inline-analysis.c (do_estimate_edge_time): Relax check for ipa profiles.
* ipa-inline-analysis.c (do_estimate_edge_time): Relax
check for ipa profiles.
From-SVN: r278179
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
-rw-r--r-- | gcc/ipa-inline-analysis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index b45063b..bfcd749 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -210,7 +210,8 @@ do_estimate_edge_time (struct cgraph_edge *edge) time = e->entry.time; nonspec_time = e->entry.nonspec_time; hints = e->entry.hints; - if (flag_checking) + if (flag_checking + && !edge->callee->count.ipa_p ()) { sreal chk_time, chk_nonspec_time; int chk_size, chk_min_size; |