2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-24 13:11:44 +08:00

Fix scan pattern of vect-8.f90 dump.

PR testsuite/94402
	* gfortran.dg/vect/vect-8.f90: Allow 22 or 23 loops
	to be vectorized (based on libmvec presence).
This commit is contained in:
Martin Liska 2020-03-30 17:49:10 +02:00
parent ec919cfcef
commit 3a9db91bee
No known key found for this signature in database
GPG Key ID: 4DC182DC0FA73785
2 changed files with 7 additions and 1 deletions
gcc/testsuite
ChangeLog
gfortran.dg/vect

@ -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

@ -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*-*-* } } } } }