From: Richard Sandiford Date: Fri, 27 Jan 2023 17:04:28 +0000 (+0000) Subject: testsuite: Two adjustments to gcc.dg/vect/complex X-Git-Tag: upstream/13.1.0~1784 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fd52972c600c432d9df74dad427243b916317a0;p=platform%2Fupstream%2Fgcc.git testsuite: Two adjustments to gcc.dg/vect/complex fast-math-bb-slp-complex-add-pattern-half-float.c no longer fails. The scans in (loop test) fast-math-complex-add-half-float.c were marked UNRESOLVED because they scanned slp1 rather than vect. gcc/testsuite/ * gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c: Remove XFAIL. * gcc.dg/vect/complex/fast-math-complex-add-half-float.c: Fix names of dump files. --- diff --git a/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c b/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c index 885fd97..e30df0f 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c +++ b/gcc/testsuite/gcc.dg/vect/complex/fast-math-bb-slp-complex-add-pattern-half-float.c @@ -12,5 +12,5 @@ /* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT90" 1 "slp1" { target { vect_complex_add_half } } } } */ /* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT270" 1 "slp1" { target { vect_complex_add_half } && ! target { arm*-*-* } } } } */ -/* { dg-final { scan-tree-dump "Found COMPLEX_ADD_ROT270" "slp1" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump "Found COMPLEX_ADD_ROT270" "slp1" } } */ /* { dg-final { scan-tree-dump "Found COMPLEX_ADD_ROT90" "slp1" } } */ diff --git a/gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-half-float.c b/gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-half-float.c index c656a2f..046f014 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-half-float.c +++ b/gcc/testsuite/gcc.dg/vect/complex/fast-math-complex-add-half-float.c @@ -9,5 +9,5 @@ /* Vectorization is failing for these cases. They should work but for now ignore. */ -/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT270" 1 "slp1" { xfail *-*-* } } } */ -/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT90" 1 "slp1" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT270" 1 "vect" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_ADD_ROT90" 1 "vect" { xfail *-*-* } } } */