https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93771
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93771
--- Comment #4 from rguenther at suse dot de ---
On Mon, 17 Feb 2020, pinskia at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93771
>
> --- Comment #3 from Andrew Pinski ---
> (In reply to Richard Biener from comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93771
--- Comment #3 from Andrew Pinski ---
(In reply to Richard Biener from comment #2)
> Confirmed. I'm not sure if we should try to "fix" SLP here or rather
> appropriately optimize
>
> v2df tem1 = *(v2df *)[0];
> v2df tem2 = *(v2df *)[2];
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93771
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93771
--- Comment #1 from Andrew Pinski ---
If t[3] was an unrelated load, then SLP does the correct thing.
E.g.
void f(double *a, double *t, double *t0, double *d)
{
double t1 = t[0] + d[0];
double t2 = t0[0] + d[1];
a[0] = t1;
a[1] = t2;
}