diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2023-11-07 09:15:02 +0100 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2023-11-07 13:20:05 +0100 |
commit | dd5c3ca98a86e04a316b3d90dadcfcb2b171760b (patch) | |
tree | 39c90794cc454e5924e90a54099e45cd56a181cc | |
parent | 7aacbd44ead433f5e669a1eaf160089beeb25f3f (diff) | |
download | gcc-dd5c3ca98a86e04a316b3d90dadcfcb2b171760b.zip gcc-dd5c3ca98a86e04a316b3d90dadcfcb2b171760b.tar.gz gcc-dd5c3ca98a86e04a316b3d90dadcfcb2b171760b.tar.bz2 |
testsuite/vect: Make check more accurate.
Similar to before this modifies a check so we do only match a
vectorization attempt if it succeeded. On riscv we potentially try
several modes if which some may fail.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/vect-cond-reduc-4.c: Make check more accurate.
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-cond-reduc-4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-cond-reduc-4.c b/gcc/testsuite/gcc.dg/vect/vect-cond-reduc-4.c index 8ea8c53..27f18dc 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-cond-reduc-4.c +++ b/gcc/testsuite/gcc.dg/vect/vect-cond-reduc-4.c @@ -42,7 +42,6 @@ main (void) } /* { dg-final { scan-tree-dump-times "LOOP VECTORIZED" 2 "vect" } } */ -/* { dg-final { scan-tree-dump-times "optimizing condition reduction with FOLD_EXTRACT_LAST" 2 "vect" { target { vect_fold_extract_last && vect_pack_trunc } } } } */ -/* { dg-final { scan-tree-dump-times "optimizing condition reduction with FOLD_EXTRACT_LAST" 4 "vect" { target { { vect_fold_extract_last } && { ! vect_pack_trunc } } } } } */ +/* { dg-final { scan-tree-dump-times "optimizing condition reduction with FOLD_EXTRACT_LAST(?:(?!failed)(?!Re-trying).)*succeeded" 2 "vect" { target { vect_fold_extract_last && vect_pack_trunc } } } } */ /* { dg-final { scan-tree-dump-times "condition expression based on integer induction." 2 "vect" { target { ! vect_fold_extract_last } } } } */ |