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.
Signed-off-by: Christoph Müllner <christoph.muell...@vrull.eu> --- 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 f471877f661..c9a427c4a07 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.1