From: Christoph Müllner Date: Sun, 22 Dec 2024 22:02:03 +0000 (+0100) Subject: testsuite: Don't test pr118149.c on AArch64 X-Git-Tag: basepoints/gcc-16~3131 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b43bb6591f7f934f9807a2cae3b53fdbe8d27169;p=thirdparty%2Fgcc.git testsuite: Don't test pr118149.c on AArch64 Recently two test cases for PR118149 have been added. While pr118149-2.c works well for AArch64, pr118149.c fails because the expected optimization in forwprop4 cannot be applied as SLP vectorization does not happen. This patch fixes this issue by disabling the check on AArch64. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pr118149.c: Disable for AArch64. Signed-off-by: Christoph Müllner --- diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr118149.c b/gcc/testsuite/gcc.dg/tree-ssa/pr118149.c index f471877f6611..c9a427c4a07f 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr118149.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr118149.c @@ -15,6 +15,6 @@ void fastconv_parse () fastconv_parse_dst[6] = fastconv_parse_dst[7] = i1k + r3k; } -/* { dg-final { scan-tree-dump "Vec perm simplify sequences have been blended" "forwprop4" { target { aarch64*-*-* i?86-*-* x86_64-*-* } } } } */ -/* { dg-final { scan-tree-dump "VEC_PERM_EXPR.*{ 0, 0, 6, 6 }" "forwprop4" { target { aarch64*-*-* i?86-*-* x86_64-*-* } } } } */ -/* { dg-final { scan-tree-dump "VEC_PERM_EXPR.*{ 1, 1, 7, 7 }" "forwprop4" { target { aarch64*-*-* i?86-*-* x86_64-*-* } } } } */ +/* { dg-final { scan-tree-dump "Vec perm simplify sequences have been blended" "forwprop4" { target { i?86-*-* x86_64-*-* } } } } */ +/* { dg-final { scan-tree-dump "VEC_PERM_EXPR.*{ 0, 0, 6, 6 }" "forwprop4" { target { i?86-*-* x86_64-*-* } } } } */ +/* { dg-final { scan-tree-dump "VEC_PERM_EXPR.*{ 1, 1, 7, 7 }" "forwprop4" { target { i?86-*-* x86_64-*-* } } } } */