[patch, vectorizer] Fix PR tree-optimization/37539 - hang in vect_transform_strided_load

Ira Rosen IRAR@il.ibm.com
Thu Sep 18 12:11:00 GMT 2008



"Richard Guenther" <richard.guenther@gmail.com> wrote on 18/09/2008
14:13:24:

> > -                 rel_stmt = STMT_VINFO_RELATED_STMT (vinfo_for_stmt
> > (rel_stmt));
> > -               }
> > -             STMT_VINFO_RELATED_STMT (vinfo_for_stmt (prev_stmt)) =
> > new_stmt;));
>
> extra parens here? ...

It's mail's fault. I don't have them in the patch.

Ira

>
> > +              if (!DR_GROUP_SAME_DR_STMT (vinfo_for_stmt (next_stmt)))
> > +                {
> > +                 gimple prev_stmt =
> > +                   STMT_VINFO_VEC_STMT (vinfo_for_stmt (next_stmt));))
>
> and here.
>
> > +                 gimple rel_stmt =
> > +                   STMT_VINFO_RELATED_STMT (vinfo_for_stmt
(prev_stmt));
> > +                 while (rel_stmt)
> > +                   {
> > +                     prev_stmt = rel_stmt;
> > +                     rel_stmt =
> > +                        STMT_VINFO_RELATED_STMT (vinfo_for_stmt
> > (rel_stmt));;));
> > +                   }
> > +
> > +                 STMT_VINFO_RELATED_STMT (vinfo_for_stmt (prev_stmt))
=
> > +                    new_stmt;
> > +                }
> >             }
> > +
> >          next_stmt = DR_GROUP_NEXT_DR (vinfo_for_stmt (next_stmt));))
>
> and here.



More information about the Gcc-patches mailing list