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>
|
2016-05-30 Tom de Vries <tom@codesourcery.com>
|
||||||
|
|
||||||
PR tree-optimization/69067
|
PR tree-optimization/69067
|
||||||
|
|
|
@ -1945,7 +1945,7 @@ start_over:
|
||||||
LOOP_VINFO_INT_NITERS (loop_vinfo));
|
LOOP_VINFO_INT_NITERS (loop_vinfo));
|
||||||
|
|
||||||
HOST_WIDE_INT max_niter
|
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)
|
if ((LOOP_VINFO_NITERS_KNOWN_P (loop_vinfo)
|
||||||
&& (LOOP_VINFO_INT_NITERS (loop_vinfo) < vectorization_factor))
|
&& (LOOP_VINFO_INT_NITERS (loop_vinfo) < vectorization_factor))
|
||||||
|| (max_niter != -1
|
|| (max_niter != -1
|
||||||
|
|
Loading…
Reference in New Issue