https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121395
Bug ID: 121395
Summary: [15/16 Regression] gcc.dg/vect/pr59984.c fails to
vectorize two loops
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
The two loops containing SIMD calls without a LHS fail to vectorize with forced
SLP since there's no SLP discovery for such roots.
#pragma omp simd
for (i = 0; i < N; i++)
{
int v1, v2;
foo (a[i], &v1, &v2);
a[i] = v1 * v2;
}
it might be tempting to handle those as stores (since they'll have a VDEF).