On Sun, 8 Oct 2023, Juzhe-Zhong wrote: > gcc/testsuite/ChangeLog:
OK > > * gcc.dg/vect/bb-slp-cond-1.c: Fix dump FAIL for RVV. > * gcc.dg/vect/pr57705.c: Ditto. > > --- > gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c | 4 ++-- > gcc/testsuite/gcc.dg/vect/pr57705.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c > b/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c > index c8024429e9c..e1ebc23505f 100644 > --- a/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c > +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-cond-1.c > @@ -47,6 +47,6 @@ int main () > } > > /* { dg-final { scan-tree-dump {(no need for alias check [^\n]* when VF is > 1|no alias between [^\n]* when [^\n]* is outside \(-16, 16\))} "vect" { > target vect_element_align } } } */ > -/* { dg-final { scan-tree-dump-times "loop vectorized" 1 "vect" { target { > vect_element_align && { ! amdgcn-*-* } } } } } */ > -/* { dg-final { scan-tree-dump-times "loop vectorized" 2 "vect" { target > amdgcn-*-* } } } */ > +/* { dg-final { scan-tree-dump-times "loop vectorized" 1 "vect" { target { > vect_element_align && { { ! amdgcn-*-* } && { ! riscv_v } } } } } } */ > +/* { dg-final { scan-tree-dump-times "loop vectorized" 2 "vect" { target { > amdgcn-*-* || riscv_v } } } } */ > > diff --git a/gcc/testsuite/gcc.dg/vect/pr57705.c > b/gcc/testsuite/gcc.dg/vect/pr57705.c > index 39c32946d74..2dacea0a7a7 100644 > --- a/gcc/testsuite/gcc.dg/vect/pr57705.c > +++ b/gcc/testsuite/gcc.dg/vect/pr57705.c > @@ -64,5 +64,5 @@ main () > return 0; > } > > -/* { dg-final { scan-tree-dump-times "vectorized 1 loop" 3 "vect" { target > vect_pack_trunc } } } */ > -/* { dg-final { scan-tree-dump-times "vectorized 1 loop" 2 "vect" { target { > ! vect_pack_trunc } } } } */ > +/* { dg-final { scan-tree-dump-times "vectorized 1 loop" 3 "vect" { target { > vect_pack_trunc || riscv_v } } } } */ > +/* { dg-final { scan-tree-dump-times "vectorized 1 loop" 2 "vect" { target { > { ! vect_pack_trunc } && { ! riscv_v } } } } } */ > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg, Germany; GF: Ivo Totev, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)