tree-ssa-pre.c (NECESSARY): Remove.
authorRichard Biener <rguenther@suse.de>
Wed, 6 Sep 2017 13:26:54 +0000 (13:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 6 Sep 2017 13:26:54 +0000 (13:26 +0000)
commitdb04bcf2622ba8641487f1bfc9cf928a3f4ca7ae
tree638923d8746e47d400e4d77ee7318a21cde2e06a
parentc48e0f27232aa6604b80e0d15b6ecb50604400a7
tree-ssa-pre.c (NECESSARY): Remove.

2017-09-06  Richard Biener  <rguenther@suse.de>

* tree-ssa-pre.c (NECESSARY): Remove.
(create_expression_by_pieces): Do not touch pass-local flags.
(insert_into_preds_of_block): Likewise.
(do_pre_regular_insertion): Likewise.
(eliminate_insert): Likewise.
(eliminate_dom_walker::before_dom_children): Likewise.
(fini_eliminate): Do not look at inserted_exprs.
(mark_operand_necessary): Remove.
(remove_dead_inserted_code): Replace with simple work-list
algorithm based on inserted_exprs and SSA uses.
(pass_pre::execute): Re-order fini_eliminate and
remove_dead_inserted_code.

From-SVN: r251798
gcc/ChangeLog
gcc/tree-ssa-pre.c