Re: [PATCH][1/n] Merge from match-and-simplify, public API

2014-10-20 Thread Richard Biener
On Fri, 17 Oct 2014, Jakub Jelinek wrote: > On Wed, Oct 15, 2014 at 01:40:07PM +0200, Richard Biener wrote: > > 2014-10-15 Richard Biener > > > > * gimple-fold.h (gimple_build): Declare various overloads. > > (gimple_simplify): Likewise. > > (gimple_convert): Re-implement in terms

Re: [PATCH][1/n] Merge from match-and-simplify, public API

2014-10-17 Thread Jakub Jelinek
On Wed, Oct 15, 2014 at 01:40:07PM +0200, Richard Biener wrote: > 2014-10-15 Richard Biener > > * gimple-fold.h (gimple_build): Declare various overloads. > (gimple_simplify): Likewise. > (gimple_convert): Re-implement in terms of gimple_build. > * gimple-fold.c (gimple_

[PATCH][1/n] Merge from match-and-simplify, public API

2014-10-15 Thread Richard Biener
This introduces the gimple_build API and exposes the gimple_simplify API that the genmatch generator provides. With this patch we have a first user of the (still no-op) machinery which is PRE where I cherry-picked a part of the branch to fix a bug earlier (and provided a different implementation