[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 4 08:42:40 GMT 2022


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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is currently visible in gcc.dg/vect/slp-perm-12.c which uses a VF of
2 and

  vect__1.20_88 = MEM <vector(8) short int> [(short int *)vectp_tptr.18_90];
  vectp_tptr.18_87 = vectp_tptr.18_90 + 16;
  vect__1.21_86 = MEM <vector(8) short int> [(short int *)vectp_tptr.18_87];
  vectp_tptr.18_85 = vectp_tptr.18_90 + 32;
  vect__1.22_84 = MEM <vector(8) short int> [(short int *)vectp_tptr.18_85];
  vectp_tptr.18_83 = vectp_tptr.18_90 + 28;
  vect__1.23_82 = VEC_PERM_EXPR <vect__1.21_86, vect__1.22_84, { 3, 4, 5, 6, 7,
8, 9, 10 }>;


More information about the Gcc-bugs mailing list