]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/116784 - match up SLP scan and vectorized scan
authorRichard Biener <rguenther@suse.de>
Fri, 20 Sep 2024 06:53:53 +0000 (08:53 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 20 Sep 2024 06:53:53 +0000 (08:53 +0200)
The test used vect_perm_short for the vectorized scanning but
vect_perm3_short for whether that's done with SLP.  We're now
generally expecting SLP to be used - even as fallback, so the
following adjusts both to match up, fixing the powerpc64 reported
testsuite issue.

PR testsuite/116784
* gcc.dg/vect/slp-perm-9.c: Use vect_perm_short also for
the SLP check.

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

index c9468d81a9de55076e473ca3019e5faf731f36d1..0c3feabf1901c05d9b7961fbea18fc6bd1921a7c 100644 (file)
@@ -58,5 +58,5 @@ int main (int argc, const char* argv[])
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { { vect_perm_short || vect32 } || vect_load_lanes } } } } */
 /* We don't try permutes with a group size of 3 for variable-length
    vectors.  */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" { target { ! { vect_perm3_short || { vect32 || vect_load_lanes } } } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { vect_perm3_short || { vect32 || vect_load_lanes } } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" { target { ! { vect_perm_short || { vect32 || vect_load_lanes } } } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { vect_perm_short || { vect32 || vect_load_lanes } } } } } */