aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-loop-ch.c')
-rw-r--r--gcc/tree-ssa-loop-ch.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/tree-ssa-loop-ch.c b/gcc/tree-ssa-loop-ch.c
index ccaa9c89..df45c28 100644
--- a/gcc/tree-ssa-loop-ch.c
+++ b/gcc/tree-ssa-loop-ch.c
@@ -243,16 +243,6 @@ copy_loop_headers (void)
are not now, since there was the loop exit condition. */
split_edge (loop_preheader_edge (loop));
split_edge (loop_latch_edge (loop));
-
- /* We peeled off one iteration of the loop thus we can lower
- the maximum number of iterations if we have a previously
- recorded value for that. */
- double_int max;
- if (get_max_loop_iterations (loop, &max))
- {
- max -= double_int_one;
- loop->nb_iterations_upper_bound = max;
- }
}
update_ssa (TODO_update_ssa);