aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-parloops.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/tree-parloops.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/tree-parloops.c')
-rw-r--r--gcc/tree-parloops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c
index f472717..1303ffc 100644
--- a/gcc/tree-parloops.c
+++ b/gcc/tree-parloops.c
@@ -3288,7 +3288,7 @@ parallelize_loops (bool oacc_kernels_p)
estimated = estimated_stmt_executions_int (loop);
if (estimated == -1)
- estimated = max_stmt_executions_int (loop);
+ estimated = likely_max_stmt_executions_int (loop);
/* FIXME: Bypass this check as graphite doesn't update the
count and frequency correctly now. */
if (!flag_loop_parallelize_all