From: Richard Biener Date: Wed, 5 Jul 2023 07:59:44 +0000 (+0200) Subject: adjust testcase for now happening epilogue vectorization X-Git-Tag: basepoints/gcc-15~7823 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9c6db31cbe9bedd2dde1c50a7007a67750a0f50;p=thirdparty%2Fgcc.git adjust testcase for now happening epilogue vectorization gcc.dg/vect/slp-perm-9.c is reported to FAIL with -march=cascadelake now which is because we now vectorize the epilogue with V2HImode vectors after the recent change to not scrap too large vector epilogues during transform but during analysis time. The following adjusts the testcase to always use the existing alternate N which avoids epilogue vectorization. * gcc.dg/vect/slp-perm-9.c: Always use alternate N. --- diff --git a/gcc/testsuite/gcc.dg/vect/slp-perm-9.c b/gcc/testsuite/gcc.dg/vect/slp-perm-9.c index 154c00af598d..f1f5d4f95a02 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-perm-9.c +++ b/gcc/testsuite/gcc.dg/vect/slp-perm-9.c @@ -3,11 +3,7 @@ #include #include "tree-vect.h" -#if VECTOR_BITS > 512 #define N (VECTOR_BITS * 6 / 16) -#else -#define N 200 -#endif void __attribute__((noinline)) foo (unsigned short *__restrict__ pInput, unsigned short *__restrict__ pOutput)