]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
adjust testcase for now happening epilogue vectorization
authorRichard Biener <rguenther@suse.de>
Wed, 5 Jul 2023 07:59:44 +0000 (09:59 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 5 Jul 2023 08:05:05 +0000 (10:05 +0200)
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.

gcc/testsuite/gcc.dg/vect/slp-perm-9.c

index 154c00af598d05bac9ebdad3bfb4eeb28594a1fc..f1f5d4f95a02da9956f775c86fc7a7b586f4eec0 100644 (file)
@@ -3,11 +3,7 @@
 #include <stdarg.h>
 #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)