[gcc r14-8205] test regression fix: Add !vect128 for variable length targets of bb-slp-subgroups-3.c

Lehua Ding lhtin@gcc.gnu.org
Thu Jan 18 07:31:55 GMT 2024


https://gcc.gnu.org/g:cc34fc9ffde60815b6571a60129199ddc5a07ca2

commit r14-8205-gcc34fc9ffde60815b6571a60129199ddc5a07ca2
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Thu Jan 18 15:21:10 2024 +0800

    test regression fix: Add !vect128 for variable length targets of bb-slp-subgroups-3.c
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/vect/bb-slp-subgroups-3.c: Add !vect128.

Diff:
---
 gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c
index fb719915db7..d1d79125731 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-subgroups-3.c
@@ -42,7 +42,7 @@ main (int argc, char **argv)
 /* Because we disable the cost model, targets with variable-length
    vectors can end up vectorizing the store to a[0..7] on its own.
    With the cost model we do something sensible.  */
-/* { dg-final { scan-tree-dump-times "optimized: basic block" 2 "slp2" { target { ! amdgcn-*-* } xfail vect_variable_length } } } */
+/* { dg-final { scan-tree-dump-times "optimized: basic block" 2 "slp2" { target { ! amdgcn-*-* } xfail { vect_variable_length && { ! vect128 } } } } } */
 
 /* amdgcn can do this in one vector.  */
 /* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp2" { target amdgcn-*-* } } } */


More information about the Gcc-cvs mailing list