tree-pass.h (make_pass_dce_loop): Remove.
commit30866dc930e37752a9010a8b27663ccfbf76260c
authorRichard Biener <rguenther@suse.de>
Wed, 18 Jun 2014 11:45:17 +0000 (18 11:45 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 18 Jun 2014 11:45:17 +0000 (18 11:45 +0000)
tree3015c25206b2e29ed9f184938da40ddc8e57fbec
parent560c75e960fafc380191bf162a8e428a35e5fb67
tree-pass.h (make_pass_dce_loop): Remove.

2014-06-18  Richard Biener  <rguenther@suse.de>

* tree-pass.h (make_pass_dce_loop): Remove.
* passes.def: Replace pass_dce_loop with pass_dce.
* tree-ssa-dce.c (perform_tree_ssa_dce): If something
changed free niter estimates and reset the scev cache.
(tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop,
make_pass_dce_loop): Remove.
* tree-ssa-copy.c: Include tree-ssa-loop-niter.h.
(fini_copy_prop): Return whether something changed.  Always
let substitute_and_fold perform DCE and free niter estimates
and reset the scev cache if so.
(execute_copy_prop): If sth changed schedule cleanup-cfg.
(pass_data_copy_prop): Do not unconditionally schedule
cleanup-cfg or update-ssa.

* gcc.dg/vect/vect.exp: Remove dump-tree-dceloop-* processing.
* gcc.dg/vect/dump-tree-dceloop-pr26359.c: Rename to ...
* gcc.dg/vect/pr26359.c: ... this and adjust appropriately.

From-SVN: r211781
gcc/ChangeLog
gcc/passes.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr26359.c [moved from gcc/testsuite/gcc.dg/vect/dump-tree-dceloop-pr26359.c with 55% similarity]
gcc/testsuite/gcc.dg/vect/vect.exp
gcc/tree-pass.h
gcc/tree-ssa-copy.c
gcc/tree-ssa-dce.c