diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-05 20:14:59 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-05 20:14:59 +0000 |
commit | c8d055f657b3a033072fca9dc9501bffd927b04d (patch) | |
tree | f9c43362e6fd6ea70ca28c6eb34ce8db0d770637 /gcc/tree-ssa-loop.c | |
parent | dd7622e6d3b955a40e1b8e7973dfedfa57dad5e6 (diff) | |
download | gcc-c8d055f657b3a033072fca9dc9501bffd927b04d.tar.gz |
* tree-vrp.c (cfg_loops): Removed.
(adjust_range_with_scev, vrp_visit_assignment, execute_vrp):
Use current_loops instead of cfg_loops. Pass flags to
loop_optimizer_init.
* cfgloopmanip.c (fix_loop_structure): Update only available
information.
* tree-ssa-loop-ch.c (copy_loop_headers): Pass flags to
loop_optimizer_init.
* modulo-sched.c (build_loops_structure): Removed.
(sms_schedule): Use loop_optimizer_init.
* loop-init.c (loop_optimizer_init): Use flags to determine
which properties of loops to prepare.
(rtl_loop_init): Pass flags to loop_optimizer_init.
* tree-ssa-sink.c (execute_sink_code): Ditto.
* tree-ssa-loop.c (tree_loop_optimizer_init): Ditto.
* tree-ssa-pre.c (init_pre): Ditto.
* cfgloop.h (LOOPS_NORMAL): New.
(loop_optimizer_init): Declaration changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110620 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r-- | gcc/tree-ssa-loop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index 8565f255223..b776d0fb3a6 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -48,7 +48,10 @@ struct loops *current_loops = NULL; static struct loops * tree_loop_optimizer_init (FILE *dump) { - struct loops *loops = loop_optimizer_init (dump); + struct loops *loops; + + loops = loop_optimizer_init (dump, (LOOPS_NORMAL + | LOOPS_HAVE_MARKED_SINGLE_EXITS)); if (!loops) return NULL; @@ -92,9 +95,6 @@ tree_ssa_loop_init (void) if (!current_loops) return; - /* Find the loops that are exited just through a single edge. */ - mark_single_exit_loops (current_loops); - scev_initialize (current_loops); } |