Re: [patch] Fix PR tree-optmization/50413

2011-09-24 Thread Richard Guenther
On Mon, Sep 19, 2011 at 1:46 PM, Ira Rosen wrote: > Hi, > > When we can't vectorize a certain statement in SLP we mark it as not > vectorizable and continue with the analysis. This is wrong when the > reason for the failure is that we can't analyze a data-ref, because > this way we may miss a data

Re: [patch] Fix PR tree-optmization/50413

2011-09-19 Thread H.J. Lu
On Mon, Sep 19, 2011 at 4:46 AM, Ira Rosen wrote: > Hi, > > When we can't vectorize a certain statement in SLP we mark it as not > vectorizable and continue with the analysis. This is wrong when the > reason for the failure is that we can't analyze a data-ref, because > this way we may miss a data

[patch] Fix PR tree-optmization/50413

2011-09-19 Thread Ira Rosen
Hi, When we can't vectorize a certain statement in SLP we mark it as not vectorizable and continue with the analysis. This is wrong when the reason for the failure is that we can't analyze a data-ref, because this way we may miss a data dependence. This patch fails SLP if the data-refs analysis fa