2013-08-20  Alexey Makhalov  <makhaloff@gmail.com>

        * dce.c (fini_dce): Call df_analyze again just in case
        delete_unmarked_insns removed anything.

From-SVN: r201905
This commit is contained in:
Jeff Law 2013-08-21 12:35:01 -06:00 committed by Jeff Law
parent 9835f8a1f8
commit dd5e84232f
2 changed files with 8 additions and 11 deletions

View File

@ -1,3 +1,11 @@
2013-08-21 Jeff Law <law@redhat.com>
Revert:
2013-08-20 Alexey Makhalov <makhaloff@gmail.com>
* dce.c (fini_dce): Call df_analyze again just in case
delete_unmarked_insns removed anything.
2013-08-21 Joern Rennecke <joern.rennecke@embecosm.com>
* reload.h (struct reg_equivs): Rename to ..

View File

@ -745,17 +745,6 @@ fini_dce (bool fast)
bitmap_obstack_release (&dce_blocks_bitmap_obstack);
bitmap_obstack_release (&dce_tmp_bitmap_obstack);
}
/* If DCE removes the last reference to a hard register, we want
to recompute REGS_EVER_LIVE and the global life information.
Ideally we'd look at REGS_EVER_LIVE before and after and only
rerun DF analysis if something changed. */
if (!df_in_progress)
{
df_compute_regs_ever_live (true);
df_analyze ();
}
}