From 6f2c0820aed6a0684be07101861c07f4bd43fd84 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 30 May 2016 10:19:24 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-vect-loop.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2