From: Martin Liska Date: Mon, 30 Mar 2020 15:49:10 +0000 (+0200) Subject: Fix scan pattern of vect-8.f90 dump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a9db91bee496712656e0f8aecf55f39cffd8413;p=gcc.git 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). --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b07ba6d87d2..4b4cd0780fd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-03-30 Martin Liska + + 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 PR target/93069 diff --git a/gcc/testsuite/gfortran.dg/vect/vect-8.f90 b/gcc/testsuite/gfortran.dg/vect/vect-8.f90 index 6f10c7e586f..b10c4fc0a97 100644 --- a/gcc/testsuite/gfortran.dg/vect/vect-8.f90 +++ b/gcc/testsuite/gfortran.dg/vect/vect-8.f90 @@ -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*-*-* } } } } }