aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-iv.c
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>2004-03-02 21:21:14 +0100
committerZdenek Dvorak <rakdver@gcc.gnu.org>2004-03-02 20:21:14 +0000
commitf2dca5108e3a8bf721c56b446aa2aeb2091d5a47 (patch)
tree03d6330174d251bdfd1929424a8e069dabc26ca6 /gcc/loop-iv.c
parentec2075e96246b5275a3b277fd401a57cafbf73e2 (diff)
downloadgcc-f2dca5108e3a8bf721c56b446aa2aeb2091d5a47.zip
gcc-f2dca5108e3a8bf721c56b446aa2aeb2091d5a47.tar.gz
gcc-f2dca5108e3a8bf721c56b446aa2aeb2091d5a47.tar.bz2
cfgloop.h (struct loop_desc): Removed.
* 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. From-SVN: r78777
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 9c170de..ccc239a 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)