From: Jan Hubicka Date: Mon, 30 May 2016 08:19:24 +0000 (+0200) Subject: tree-vect-loop.c (vect_analyze_loop_2): Use likely_max_stmt_executions_int. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f2c0820aed6a0684be07101861c07f4bd43fd84;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3aa51c9ffa5..4617eb60d6c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-30 Jan Hubicka + + * tree-vect-loop.c (vect_analyze_loop_2): Use + likely_max_stmt_executions_int. + 2016-05-30 Tom de Vries PR tree-optimization/69067 diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index 1471658da76..cada09692fb 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -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