]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Adjust gcc.dg/vect/slp-12a.c
authorRichard Biener <rguenther@suse.de>
Wed, 2 Oct 2024 11:40:59 +0000 (13:40 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Oct 2024 11:45:54 +0000 (13:45 +0200)
We can now SLP the loop.  There's PR116583 tracking that this still
fails for VLA vectors when load-lanes doesn't support a group of
size 8.  We can't express this right now so the testcase keeps
FAILing for aarch64 with SVE (but passes now for riscv).

* gcc.dg/vect/slp-12a.c: Adjust.

gcc/testsuite/gcc.dg/vect/slp-12a.c

index fedf27b69d2333ffa6b4150928840e433445aa6e..c526ea07c7a3d18752b8276effe3064caee78887 100644 (file)
@@ -80,5 +80,4 @@ int main (void)
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_strided8 && vect_int_mult } } } } */
 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { target { ! { vect_strided8 && vect_int_mult } } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { { vect_strided8 && {! vect_load_lanes } } && vect_int_mult } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" { target { ! { vect_strided8 && vect_int_mult } } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { vect_strided8 && vect_int_mult } } } } */