r216204 - in /branches/match-and-simplify/gcc: ...
rguenth@gcc.gnu.org
rguenth@gcc.gnu.org
Tue Oct 14 14:31:00 GMT 2014
Author: rguenth
Date: Tue Oct 14 14:31:26 2014
New Revision: 216204
URL: https://gcc.gnu.org/viewcvs?rev=216204&root=gcc&view=rev
Log:
2014-10-14 Richard Biener <rguenther@suse.de>
* gimple-fold.h (no_follow_ssa_edges): Declare.
(gimple_fold_stmt_to_constant_1): Add separate valueize hook for
gimple_simplify, defaulted to no_follow_ssa_edges.
* gimple-fold.c (fold_stmt): Make old API never follow SSA edges
when simplifying.
(no_follow_ssa_edges): New function.
(gimple_fold_stmt_to_constant_1): Adjust.
* tree-cfg.c (no_follow_ssa_edges): Remove.
(replace_uses_by): Use plain fold_stmt again.
* gimple-match-head.c (gimple_simplify): When simplifying
a statement do not stop when valueizing its operands yields NULL.
Modified:
branches/match-and-simplify/gcc/ChangeLog.mas
branches/match-and-simplify/gcc/gimple-fold.c
branches/match-and-simplify/gcc/gimple-fold.h
branches/match-and-simplify/gcc/gimple-match-head.c
branches/match-and-simplify/gcc/tree-cfg.c
More information about the Gcc-cvs
mailing list