summaryrefslogtreecommitdiff
path: root/gcc/loop-iv.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-02 20:21:14 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-02 20:21:14 +0000
commit9c1ccc0f89cb2abebfb3b43ec4bb12b3b54a2b00 (patch)
tree03d6330174d251bdfd1929424a8e069dabc26ca6 /gcc/loop-iv.c
parent0a127d2cabe2fe59ec52f41f8bced9442397f3d1 (diff)
downloadgcc-9c1ccc0f89cb2abebfb3b43ec4bb12b3b54a2b00.tar.gz
* cfgloop.h (struct loop_desc): Removed.
(struct loop): Fields simple, desc and has_desc removed. (simple_loop_p, count_loop_iterations): Declaration removed. * cfgloopanal.c (struct unmark_altered_insn_data): Removed. (unmark_altered, blocks_invariant_registers, unmark_altered_insn blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper, invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations, simple_loop_exit_p, variable_initial_value, variable_initial_values, simple_condition_p, simple_increment, count_strange_loop_iterations, inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations): Removed. * loop-iv.c (check_simple_exit, find_simple_exit): Update comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-iv.c')
-rw-r--r--gcc/loop-iv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c
index 9c170dec2ec..ccc239a3652 100644
--- a/gcc/loop-iv.c
+++ b/gcc/loop-iv.c
@@ -2306,7 +2306,7 @@ zero_iter:
}
/* Checks whether E is a simple exit from LOOP and stores its description
- into DESC. TODO Should replace cfgloopanal.c:simple_loop_exit_p. */
+ into DESC. */
static void
check_simple_exit (struct loop *loop, edge e, struct niter_desc *desc)
@@ -2353,8 +2353,7 @@ check_simple_exit (struct loop *loop, edge e, struct niter_desc *desc)
iv_number_of_iterations (loop, at, condition, desc);
}
-/* Finds a simple exit of LOOP and stores its description into DESC.
- TODO Should replace cfgloopanal.c:simple_loop_p. */
+/* Finds a simple exit of LOOP and stores its description into DESC. */
void
find_simple_exit (struct loop *loop, struct niter_desc *desc)