Re: [PATCH] Fix PR53295

2012-05-12 Thread Richard Guenther
On Sat, May 12, 2012 at 1:39 PM, Toon Moene wrote: > On 05/12/2012 12:36 PM, Richard Guenther wrote: > >> On Sat, May 12, 2012 at 9:53 AM, Toon Moene  wrote: > > >>> On 05/11/2012 01:59 PM, Richard Guenther wrote: >>> This fixes the dependency of vectorization of strided loads on gather

Re: [PATCH] Fix PR53295

2012-05-12 Thread Toon Moene
On 05/12/2012 12:36 PM, Richard Guenther wrote: On Sat, May 12, 2012 at 9:53 AM, Toon Moene wrote: On 05/11/2012 01:59 PM, Richard Guenther wrote: This fixes the dependency of vectorization of strided loads on gather support. For that to work we need to lift the restriction in data-ref an

Re: [PATCH] Fix PR53295

2012-05-12 Thread Richard Guenther
On Sat, May 12, 2012 at 9:53 AM, Toon Moene wrote: > On 05/11/2012 01:59 PM, Richard Guenther wrote: > >> This fixes the dependency of vectorization of strided loads on >> gather support.  For that to work we need to lift the restriction >> in data-ref analysis that requries a constant DR_STEP.  F

Re: [PATCH] Fix PR53295

2012-05-12 Thread Toon Moene
On 05/11/2012 01:59 PM, Richard Guenther wrote: This fixes the dependency of vectorization of strided loads on gather support. For that to work we need to lift the restriction in data-ref analysis that requries a constant DR_STEP. Fortunately fallout is small. Would this also vectorize strid

[PATCH] Fix PR53295

2012-05-11 Thread Richard Guenther
This fixes the dependency of vectorization of strided loads on gather support. For that to work we need to lift the restriction in data-ref analysis that requries a constant DR_STEP. Fortunately fallout is small. As a side-effect the data-reference for strided loads now makes sense (rather than