tree-ssa-dce.c (bb_contains_live_stmts): New bitmap.
authorJan Hubicka <jh@suse.cz>
Thu, 2 Jul 2009 22:56:21 +0000 (00:56 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 2 Jul 2009 22:56:21 +0000 (22:56 +0000)
commit1fc41282ec5ca0b314d7c2b5144df5d89aef4271
tree1d9bdbd53840567d935dad776d171d929046d438
parentbc21bfa5e3bc9f06ac92b2b9b43ae55116850f1b
tree-ssa-dce.c (bb_contains_live_stmts): New bitmap.

* tree-ssa-dce.c (bb_contains_live_stmts): New bitmap.
(mark_stmt_necessary): Set it.
(mark_operand_necessary): Set it.
(mark_control_dependent_edges_necessary): Set it.
(mark_virtual_phi_result_for_renaming): New function.
(get_live_post_dom): New function.
(forward_edge_to_pdom): New function.
(remove_dead_stmt): Fix handling of control dependences.
(tree_dce_init): Init new bitmap.
(tree_dce_done): Free it.

From-SVN: r149199
gcc/ChangeLog
gcc/tree-ssa-dce.c