mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 15:42:07 +08:00
tree-vect-loop.c (vect_analyze_loop_2): Use likely_max_stmt_executions_int.
* tree-vect-loop.c (vect_analyze_loop_2): Use likely_max_stmt_executions_int. From-SVN: r236870
This commit is contained in:
parent
7e01285587
commit
6f2c0820ae
@ -1,3 +1,8 @@
|
||||
2016-05-30 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* tree-vect-loop.c (vect_analyze_loop_2): Use
|
||||
likely_max_stmt_executions_int.
|
||||
|
||||
2016-05-30 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR tree-optimization/69067
|
||||
|
@ -1945,7 +1945,7 @@ start_over:
|
||||
LOOP_VINFO_INT_NITERS (loop_vinfo));
|
||||
|
||||
HOST_WIDE_INT max_niter
|
||||
= max_stmt_executions_int (LOOP_VINFO_LOOP (loop_vinfo));
|
||||
= likely_max_stmt_executions_int (LOOP_VINFO_LOOP (loop_vinfo));
|
||||
if ((LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
|
||||
&& (LOOP_VINFO_INT_NITERS (loop_vinfo) < vectorization_factor))
|
||||
|| (max_niter != -1
|
||||
|
Loading…
x
Reference in New Issue
Block a user