aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-doloop.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2016-06-01 17:26:46 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2016-06-01 15:26:46 +0000
commitae7a7472714df7b444d9e63b54a265b60e1a5d81 (patch)
treecdd86a66b261ea4a1fbf488364b2c8612a47419d /gcc/loop-doloop.c
parent6442a6f43b4525a08526f9e55419f567a1af776c (diff)
downloadgcc-ae7a7472714df7b444d9e63b54a265b60e1a5d81.zip
gcc-ae7a7472714df7b444d9e63b54a265b60e1a5d81.tar.gz
gcc-ae7a7472714df7b444d9e63b54a265b60e1a5d81.tar.bz2
loop-dolop.c (doloop_optimize): Us likely max iteration bound.
* loop-dolop.c (doloop_optimize): Us likely max iteration bound. * tree-parloops.c (parallelize_loops): likewise. * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop, tree_unswitch_outer_loop): likewise. From-SVN: r236998
Diffstat (limited to 'gcc/loop-doloop.c')
-rw-r--r--gcc/loop-doloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c
index 6996c0b..3eb9b11 100644
--- a/gcc/loop-doloop.c
+++ b/gcc/loop-doloop.c
@@ -638,7 +638,7 @@ doloop_optimize (struct loop *loop)
est_niter = get_estimated_loop_iterations_int (loop);
if (est_niter == -1)
- est_niter = get_max_loop_iterations_int (loop);
+ est_niter = get_likely_max_loop_iterations_int (loop);
if (est_niter >= 0 && est_niter < 3)
{