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

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Wed Jun 25 09:38:00 GMT 2014


Author: rguenth
Date: Wed Jun 25 09:38:01 2014
New Revision: 211973

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

	* genmatch.c (decision_tree::gen_gimple): Create three
	gimple_match_and_simplify overloads again.
	(decision_tree::gen_generic): Likewise.  Create final API
	with enum tree_code arguments.
	(main): Define GIMPLE or GENERIC dependent on code generation mode.
	* gimple-match-head.c (gimple_match_and_simplify): Adjust
	prototypes.
	* match.pd: Disable P p+ CST -> &MEM[P, CST] transform for GENERIC.
	* fold-const.c (fold_unary_loc): First dispatch to
	generic_match_and_simplify.
	(fold_binary_loc): Likewise.
	(fold_ternary_loc): Likewise.

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



More information about the Gcc-cvs mailing list