gimple-fold.h (follow_single_use_edges): Declare.
authorRichard Biener <rguenther@suse.de>
Tue, 28 Oct 2014 14:23:27 +0000 (14:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Oct 2014 14:23:27 +0000 (14:23 +0000)
commit45cc9f96c2ebbdad293d071211011d30d228296b
tree9a0c1ff3317b62c1e1d764dcfa9b97e606178106
parent936c0fe4cbaa0f03a047d46122d1a87b893f5589
gimple-fold.h (follow_single_use_edges): Declare.

2014-10-28  Richard Biener  <rguenther@suse.de>

* gimple-fold.h (follow_single_use_edges): Declare.
* gimple-fold.c (follow_single_use_edges): New function.
(gimple_fold_stmt_to_constant_1): Dispatch to gimple_simplify.
* tree-ssa-propagate.c
(substitute_and_fold_dom_walker::before_dom_children): Allow
following single-use edges when folding stmts we propagated into.

From-SVN: r216799
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple-fold.h
gcc/tree-ssa-propagate.c