From 12383255fe4e82c31f5e42c72a8fbcb1b5dea35d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 8 Nov 2024 15:11:34 +0100 Subject: [PATCH] Fix gcc.dg/vect/bb-slp-77.c for x86 x86 doesn't have .REDUC_PLUS for V2SImode - there's no effective target for that so add it to the list of targets not expecting the BB vectorization. * gcc.dg/vect/bb-slp-77.c: Add x86_64-*-* and i?86-*-* to the list of expected failing targets. --- gcc/testsuite/gcc.dg/vect/bb-slp-77.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-77.c b/gcc/testsuite/gcc.dg/vect/bb-slp-77.c index b2cc1d114f1..bc74f6a4db3 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-77.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-77.c @@ -71,4 +71,4 @@ void test(const int n, float * restrict s, const void * restrict vx, const void *s = sumf; } -/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1" { target { { vect_int_mult && vect_element_align } && { ! powerpc*-*-* } } } } } */ +/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1" { target { { vect_int_mult && vect_element_align } && { ! { powerpc*-*-* x86_64-*-* i?86-*-* } } } } } } */