From: Jan Hubicka Date: Sat, 28 May 2016 16:36:29 +0000 (+0200) Subject: tree-ssa-loop-ivopts.c (estimated_stmt_executions_int): Use likely_max_stmt_execution... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8cf746afb5b33bcacbb1cb1a137a1899006c131;p=gcc.git tree-ssa-loop-ivopts.c (estimated_stmt_executions_int): Use likely_max_stmt_executions_int. * tree-ssa-loop-ivopts.c (estimated_stmt_executions_int): Use likely_max_stmt_executions_int. From-SVN: r236852 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf3c946dca9..8123c41e2a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-27 Jan Hubicka + + * tree-ssa-loop-ivopts.c (estimated_stmt_executions_int): Use + likely_max_stmt_executions_int. + 2016-05-27 Jan Hubicka * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Use diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index d770ec9e85a..e6c49e9707b 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -127,7 +127,7 @@ avg_loop_niter (struct loop *loop) HOST_WIDE_INT niter = estimated_stmt_executions_int (loop); if (niter == -1) { - niter = max_stmt_executions_int (loop); + niter = likely_max_stmt_executions_int (loop); if (niter == -1 || niter > AVG_LOOP_NITER (loop)) return AVG_LOOP_NITER (loop); }