loop-iv.c (iv_analysis_loop_init): Use df in more conservative way.

* loop-iv.c (iv_analysis_loop_init): Use df in more conservative way.

From-SVN: r110030
This commit is contained in:
Zdenek Dvorak 2006-01-20 18:06:34 +01:00 committed by Zdenek Dvorak
parent 4bf2d47369
commit 33cb1cf6c5
2 changed files with 9 additions and 8 deletions

View file

@ -1,3 +1,7 @@
2006-01-20 Zdenek Dvorak <dvorakz@suse.cz>
* loop-iv.c (iv_analysis_loop_init): Use df in more conservative way.
2006-01-20 Richard Sandiford <richard@codesourcery.com>
* stmt.c (case_bit_test_cmp): Stabilize the sort using code

View file

@ -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++)
{