Fix scan pattern of vect-8.f90 dump.
authorMartin Liska <mliska@suse.cz>
Mon, 30 Mar 2020 15:49:10 +0000 (17:49 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 30 Mar 2020 15:49:10 +0000 (17:49 +0200)
PR testsuite/94402
* gfortran.dg/vect/vect-8.f90: Allow 22 or 23 loops
to be vectorized (based on libmvec presence).

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/vect/vect-8.f90

index b07ba6d87d2640c491205b24679013852fcf0e89..4b4cd0780fd97825de632db4da59050b7332174b 100644 (file)
@@ -1,3 +1,9 @@
+2020-03-30  Martin Liska  <mliska@suse.cz>
+
+       PR testsuite/94402
+       * gfortran.dg/vect/vect-8.f90: Allow 22 or 23 loops
+       to be vectorized (based on libmvec presence).
+
 2020-03-30  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/93069
index 6f10c7e586fe8d1d90a45a5fe8d117d4b2a9f0e5..b10c4fc0a97b11f51793be9bb3b819daed528927 100644 (file)
@@ -705,5 +705,5 @@ RETURN
 END SUBROUTINE kernel
 
 ! { dg-final { scan-tree-dump-times "vectorized 23 loops" 1 "vect" { target aarch64*-*-* } } }
-! { dg-final { scan-tree-dump-times "vectorized 22 loops" 1 "vect" { target { vect_intdouble_cvt && { ! aarch64*-*-* } } } } }
+! { dg-final { scan-tree-dump-times "vectorized 2\[23\] loops" 1 "vect" { target { vect_intdouble_cvt && { ! aarch64*-*-* } } } } }
 ! { dg-final { scan-tree-dump-times "vectorized 17 loops" 1 "vect" { target { { ! vect_intdouble_cvt } && { ! aarch64*-*-* } } } } }