[Bug testsuite/97299] [11 regression] gcc.dg/vect/slp-reduc-3.c fails after r11-3563

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 21 09:13:45 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97299

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 50017
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50017&action=edit
patch

OK, so the arm fails are because they use load_lanes.  Which means adjusting
like

/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 0 "vect" { xfail { {
vect_widen_sum_hi_to_si_pattern || { ! vect_unpack } } && { ! vect_load_lanes }
} } } } */

should work there.  Then we have solaris which likely does not vectorize this
at all which means we need to condition all scans on the 'vectorized 1 loops'
scan.  Meh, complicated target selectors :/

Rainer, can you test the attached patch?


More information about the Gcc-bugs mailing list