https://gcc.gnu.org/g:12383255fe4e82c31f5e42c72a8fbcb1b5dea35d

commit r15-5045-g12383255fe4e82c31f5e42c72a8fbcb1b5dea35d
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Nov 8 15:11:34 2024 +0100

    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.

Diff:
---
 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 b2cc1d114f10..bc74f6a4db31 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-*-* } } } } } } */

Reply via email to