Re: [PATCH] Fix PR tree-optimization/52870 (another crash in SLP pattern detection)

2012-04-09 Thread Richard Guenther
On Fri, Apr 6, 2012 at 8:30 PM, Ulrich Weigand wrote: > Hello, > > PR 52870 is another crash in vectorizer pattern detection that was uncovered > by Ira's patch to enable patterns for SLP as well. > > In this case, the problem is that vect_recog_widen_mult_pattern detects a > statement as part of

[PATCH] Fix PR tree-optimization/52870 (another crash in SLP pattern detection)

2012-04-06 Thread Ulrich Weigand
Hello, PR 52870 is another crash in vectorizer pattern detection that was uncovered by Ira's patch to enable patterns for SLP as well. In this case, the problem is that vect_recog_widen_mult_pattern detects a statement as part of a pattern, but that statement is actually outside of the basic bloc