diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2018-04-13 10:59:05 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2018-04-13 08:59:05 +0000 |
commit | 65739a688542b637b6a9f99aed2de84d9b84460c (patch) | |
tree | bd43bc965dff5590c78fb5d6d802b3cbda1f4332 /gcc/cfgloop.h | |
parent | 2fdb5a23a3a65f949de21bdc3256a72029fd290d (diff) | |
download | gcc-65739a688542b637b6a9f99aed2de84d9b84460c.zip gcc-65739a688542b637b6a9f99aed2de84d9b84460c.tar.gz gcc-65739a688542b637b6a9f99aed2de84d9b84460c.tar.bz2 |
re PR tree-optimization/82965 (gcc.dg/vect/pr79347.c starts failing after r254379)
PR tree-optimization/82965
PR tree-optimization/83991
* cfgloopanal.c (expected_loop_iterations_unbounded): Add
by_profile_only parameter.
* cfgloopmanip.c (scale_loop_profile): Further scale loop's profile
information if the loop was predicted to iterate too many times.
* cfgloop.h (expected_loop_iterations_unbounded): Update prototype
Co-Authored-By: Bin Cheng <bin.cheng@arm.com>
From-SVN: r259368
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r-- | gcc/cfgloop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index ccd2f89..af9bfab 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -388,7 +388,7 @@ extern void verify_loop_structure (void); /* Loop analysis. */ extern bool just_once_each_iteration_p (const struct loop *, const_basic_block); gcov_type expected_loop_iterations_unbounded (const struct loop *, - bool *read_profile_p = NULL); + bool *read_profile_p = NULL, bool by_profile_only = false); extern unsigned expected_loop_iterations (struct loop *); extern rtx doloop_condition_get (rtx_insn *); |