r211133 - in /branches/match-and-simplify/gcc: ...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Mon Jun 2 13:14:00 GMT 2014


Author: rguenth
Date: Mon Jun  2 13:14:33 2014
New Revision: 211133

URL: http://gcc.gnu.org/viewcvs?rev=211133&root=gcc&view=rev
Log:
2014-06-02  Richard Biener  <rguenther@suse.de>

	* gimple-fold.c (gimple_fold_stmt_to_constant_1): Rename to ....
	(gimple_fold_stmt_to_constant_2): ... this and make static.
	(gimple_fold_stmt_to_constant_1): New wrapper using
	gimple_match_and_simplify before falling back to
	gimple_fold_stmt_to_constant_2.
	* match.pd: Add basic constant folding patterns.  Add
	two commutations.

Modified:
    branches/match-and-simplify/gcc/ChangeLog.mas
    branches/match-and-simplify/gcc/gimple-fold.c
    branches/match-and-simplify/gcc/match.pd



More information about the Gcc-cvs mailing list