Re: [PATCH][RFC][match-and-simplify] "Manually" written patterns

2014-08-21 Thread Richard Biener
On Fri, 15 Aug 2014, Richard Biener wrote: > > The following introduces "manually" written patterns. That is, > part of the matching and the transform are fully manual. An > example where this is necessary is when the result isn't really > an "expression" but a series of statements. > > For ex

Re: [PATCH][RFC][match-and-simplify] "Manually" written patterns

2014-08-18 Thread Richard Biener
On Mon, 18 Aug 2014, Prathamesh Kulkarni wrote: > On Fri, Aug 15, 2014 at 6:18 PM, Richard Biener wrote: > > > > The following introduces "manually" written patterns. That is, > > part of the matching and the transform are fully manual. An > > example where this is necessary is when the result

[PATCH][RFC][match-and-simplify] "Manually" written patterns

2014-08-15 Thread Richard Biener
The following introduces "manually" written patterns. That is, part of the matching and the transform are fully manual. An example where this is necessary is when the result isn't really an "expression" but a series of statements. For example take simplifications of the memset builtin. With th