From b43bb6591f7f934f9807a2cae3b53fdbe8d27169 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christoph=20M=C3=BCllner?= Date: Sun, 22 Dec 2024 23:02:03 +0100 Subject: [PATCH] testsuite: Don't test pr118149.c on AArch64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- gcc/testsuite/gcc.dg/tree-ssa/pr118149.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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-*-* } } } } */ -- 2.47.2