]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: testsuite: Fix gcc.dg/vect/bb-slp-77.c.
authorLulu Cheng <chenglulu@loongson.cn>
Mon, 3 Mar 2025 08:58:28 +0000 (16:58 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Mon, 10 Mar 2025 04:00:04 +0000 (12:00 +0800)
The issue is the same as 12383255fe4e82c31f5e42c72a8fbcb1b5dea35d.
Neither is .REDUC_PLUS set for V2SImode on LoongArch, so add it
to the list of targets not expecting BB vectorization.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/bb-slp-77.c: Add loongarch*-*-* to the list
of expected failing targets.

gcc/testsuite/gcc.dg/vect/bb-slp-77.c

index bc74f6a4db31a33c67e6901f8b3ece7dc6205e06..2057f038f2f3a17ef862409abefde74881fb6662 100644 (file)
@@ -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*-*-* x86_64-*-* i?86-*-* } } } } } } */
+/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1"  { target { { vect_int_mult && vect_element_align } && { ! { powerpc*-*-* x86_64-*-* i?86-*-* loongarch*-*-* } } } } } } */