Re: [GSoC] Few questions regarding genmatch

2014-05-07 Thread Richard Biener
On Wed, May 7, 2014 at 3:36 PM, Prathamesh Kulkarni wrote: > Hi, > I have few questions regarding genmatch: > > a) When simplification fails, we continue pattern matching with the next > pattern > in the order they appear in match.pd. Is that necessary ? > Could we not simply return false fro

[GSoC] Few questions regarding genmatch

2014-05-07 Thread Prathamesh Kulkarni
Hi, I have few questions regarding genmatch: a) When simplification fails, we continue pattern matching with the next pattern in the order they appear in match.pd. Is that necessary ? Could we not simply return false from gimple_match_and_simplify if simplification fails ? b) How do we handle