diff options
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
-rw-r--r-- | gcc/tree-ssa-loop-unswitch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index bf9fafa6..73bdc6e 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -224,7 +224,7 @@ tree_unswitch_single_loop (struct loop *loop, int num) for unswitching. */ iterations = estimated_loop_iterations_int (loop); if (iterations < 0) - iterations = max_loop_iterations_int (loop); + iterations = likely_max_loop_iterations_int (loop); if (iterations >= 0 && iterations <= 1) { if (dump_file && (dump_flags & TDF_DETAILS)) @@ -442,7 +442,7 @@ tree_unswitch_outer_loop (struct loop *loop) for unswitching. */ iterations = estimated_loop_iterations_int (loop); if (iterations < 0) - iterations = max_loop_iterations_int (loop); + iterations = likely_max_loop_iterations_int (loop); if (iterations >= 0 && iterations <= 1) { if (dump_file && (dump_flags & TDF_DETAILS)) |