[Bug tree-optimization/104240] New: SLP discovery does not consider swapping comparisons
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 26 12:43:36 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104240
Bug ID: 104240
Summary: SLP discovery does not consider swapping comparisons
Product: gcc
Version: 12.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 following testcase is not vectorized because of a < vs > operation
mismatch.
void foo (int *c, float *x, float *y)
{
c[0] = x[0] < y[0];
c[1] = y[1] > x[1];
c[2] = x[2] < y[2];
c[3] = x[3] < y[3];
}
More information about the Gcc-bugs
mailing list