Commit c8cf746a by Jan Hubicka Committed by Jan Hubicka

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
parent 00022058
2016-05-27 Jan Hubicka <hubicka@ucw.cz> 2016-05-27 Jan Hubicka <hubicka@ucw.cz>
* tree-ssa-loop-ivopts.c (estimated_stmt_executions_int): Use
likely_max_stmt_executions_int.
2016-05-27 Jan Hubicka <hubicka@ucw.cz>
* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Use * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Use
likely_max_stmt_executions_int. likely_max_stmt_executions_int.
......
...@@ -127,7 +127,7 @@ avg_loop_niter (struct loop *loop) ...@@ -127,7 +127,7 @@ avg_loop_niter (struct loop *loop)
HOST_WIDE_INT niter = estimated_stmt_executions_int (loop); HOST_WIDE_INT niter = estimated_stmt_executions_int (loop);
if (niter == -1) if (niter == -1)
{ {
niter = max_stmt_executions_int (loop); niter = likely_max_stmt_executions_int (loop);
if (niter == -1 || niter > AVG_LOOP_NITER (loop)) if (niter == -1 || niter > AVG_LOOP_NITER (loop))
return AVG_LOOP_NITER (loop); return AVG_LOOP_NITER (loop);
} }
......
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