[gcc r11-7620] testsuite/97494 - amend gcc.dg/vect/slp-21.c

Richard Biener rguenth@gcc.gnu.org
Thu Mar 11 12:32:53 GMT 2021


https://gcc.gnu.org/g:9d4ad8570c3bab2e145aa7b39ce8c66bafbf1945

commit r11-7620-g9d4ad8570c3bab2e145aa7b39ce8c66bafbf1945
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Mar 11 13:30:56 2021 +0100

    testsuite/97494 - amend gcc.dg/vect/slp-21.c
    
    As reported in the PR all powerpc64 targets fail
    
    FAIL: gcc.dg/vect/slp-21.c scan-tree-dump-times vect "vectorizing stmts using SLP" 2
    
    because like on arm we now vectorize 4 opportunities.  This adjusts
    the testcase to follow the arm example.
    
    2021-03-11  Richard Biener  <rguenther@suse.de>
    
            PR testsuite/97494
            * gcc.dg/vect/slp-21.c: Adjust for powerpc64*-*-*.

Diff:
---
 gcc/testsuite/gcc.dg/vect/slp-21.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/slp-21.c b/gcc/testsuite/gcc.dg/vect/slp-21.c
index 117d65c5ddb..bf8f434dd50 100644
--- a/gcc/testsuite/gcc.dg/vect/slp-21.c
+++ b/gcc/testsuite/gcc.dg/vect/slp-21.c
@@ -210,7 +210,7 @@ int main (void)
 
    Not all vect_perm targets support that, and it's a bit too specific to have
    its own effective-target selector, so we just test targets directly.  */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 4 "vect" { target { aarch64*-*-* arm*-*-* } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { vect_strided4 && { ! { aarch64*-*-* arm*-*-* } } } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 4 "vect" { target { aarch64*-*-* arm*-*-* powerpc64*-*-* } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { target { vect_strided4 && { ! { aarch64*-*-* arm*-*-* powerpc64*-*-* } } } } } } */
 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect"  { target { ! { vect_strided4 } } } } } */


More information about the Gcc-cvs mailing list