diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-20 17:06:34 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-20 17:06:34 +0000 |
commit | 6e73639a226b8c3b97e0e1f677e30e45a3870d28 (patch) | |
tree | bfa38b0a0e9385cc1f62a4cf3ca4ced80c110bd9 /gcc/loop-iv.c | |
parent | 1a788acdc36ef26e2222ab82bfb4c5ce3cb7bd09 (diff) | |
download | gcc-6e73639a226b8c3b97e0e1f677e30e45a3870d28.tar.gz |
* loop-iv.c (iv_analysis_loop_init): Use df in more conservative way.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110030 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-iv.c')
-rw-r--r-- | gcc/loop-iv.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index e3ec78b7cfc..0321faa58e8 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -250,14 +250,11 @@ iv_analysis_loop_init (struct loop *loop) current_loop = loop; /* Clear the information from the analysis of the previous loop. */ - if (first_time) - { - df = df_init (DF_HARD_REGS | DF_EQUIV_NOTES); - df_chain_add_problem (df, DF_UD_CHAIN); - bivs = htab_create (10, biv_hash, biv_eq, free); - } - else - clear_iv_info (); + if (!first_time) + iv_analysis_done (); + df = df_init (DF_HARD_REGS | DF_EQUIV_NOTES); + df_chain_add_problem (df, DF_UD_CHAIN); + bivs = htab_create (10, biv_hash, biv_eq, free); for (i = 0; i < loop->num_nodes; i++) { |