Commit 6f2c0820 by Jan Hubicka Committed by Jan Hubicka

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
parent 7e012855
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment