df-problems.c (df_kill_notes): Split up in two functions.
authorSteven Bosscher <steven@gcc.gnu.org>
Wed, 17 Oct 2012 06:15:38 +0000 (06:15 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Wed, 17 Oct 2012 06:15:38 +0000 (06:15 +0000)
commit8c266ffa32d238cc400fa8ed92448de789f67739
treefef0784fa67a3a57115f1178eca84b52d9a8e0aa
parentd564b816874a443ae3ced1f11b48633abe412cc3
df-problems.c (df_kill_notes): Split up in two functions.

* df-problems.c (df_kill_notes): Split up in two functions.
(df_remove_dead_and_unused_notes): New function, first half of
df_kill notes to remove all REG_DEAD and REG_UNUSED notes.
(df_remove_dead_eq_notes): New function, second half of df_kill_notes
to remove REG_EQUAL and REG_EQUIV notes referring to dead registers.
(df_note_bb_compute): Call df_remove_dead_and_unused_notes instead
of df_kill_notes.  Call df_remove_dead_eq_notes after processing insn.

* web.c (web): Re-add DF_RD_PRUNE_DEAD_DEFS;

From-SVN: r192526
gcc/ChangeLog
gcc/df-problems.c
gcc/web.c