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:
Jan Hubicka 2016-05-30 10:19:24 +02:00 committed by Jan Hubicka
parent 7e01285587
commit 6f2c0820ae
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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