]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/111125 - disable BB vectorization for the test
authorRichard Biener <rguenther@suse.de>
Thu, 24 Aug 2023 08:55:06 +0000 (10:55 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 24 Aug 2023 08:57:40 +0000 (10:57 +0200)
The test is for loop vectorization producing non-canonical
multiplications.  We can now BB vectorize the whole function
when the target supports .REDUC_PLUS for V2SImode but we don't
have a dejagnu selector for that.  Disable BB vectorization
like we disabled epilogue vectorization.

PR testsuite/111125
* gcc.dg/vect/pr53773.c: Disable BB vectorization.

gcc/testsuite/gcc.dg/vect/pr53773.c

index 7f8229571ecf10d8f3234a7ab7041ad53a86a3fa..213e74e0b9d45f1781cf9436590b83ed6bcbdd8f 100644 (file)
@@ -1,7 +1,10 @@
 /* Disabling epilogues until we find a better way to deal with scans.  */
 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
 /* { dg-do compile } */
-/* { dg-additional-options "-fdump-tree-optimized" } */
+/* Disable BB vectorization, we now can cover the whole loop with that
+   when the target supports .REDUC_PLUS for integers, we don't have a
+   good target selector for this.  */
+/* { dg-additional-options "-fdump-tree-optimized -fno-tree-slp-vectorize" } */
 
 int
 foo (int integral, int decimal, int power_ten)