Re: PR54915 (ssa-forwprop, vec_perm_expr)

2012-10-15 Thread Richard Biener
On Sat, Oct 13, 2012 at 11:25 AM, Marc Glisse wrote: > On Fri, 12 Oct 2012, Marc Glisse wrote: > >> Hello, >> >> apparently, in the optimization that recognizes that {v[1],v[0]} is a >> VEC_PERM_EXPR, I forgot to check that v is a 2-element vector... (not that >> there aren't things that could be

Re: PR54915 (ssa-forwprop, vec_perm_expr)

2012-10-13 Thread Marc Glisse
On Fri, 12 Oct 2012, Marc Glisse wrote: Hello, apparently, in the optimization that recognizes that {v[1],v[0]} is a VEC_PERM_EXPR, I forgot to check that v is a 2-element vector... (not that there aren't things that could be done if v has a different size, just not directly a VEC_PERM_EXPR,

PR54915 (ssa-forwprop, vec_perm_expr)

2012-10-12 Thread Marc Glisse
Hello, apparently, in the optimization that recognizes that {v[1],v[0]} is a VEC_PERM_EXPR, I forgot to check that v is a 2-element vector... (not that there aren't things that could be done if v has a different size, just not directly a VEC_PERM_EXPR, and not right now, priority is to fix the