From 6e38deee4659d87d57e54a869d546dc01cf733cc Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Wed, 4 Jul 2018 08:04:55 +0000 Subject: [PATCH] ssa-dom-thread-7.c: Adjust test because aarch64 has a slightly different IL that provides more... * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Adjust test because aarch64 has a slightly different IL that provides more threading opportunities. From-SVN: r262377 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 930215d4949..6c5efa4cc52 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-07-04 Aldy Hernandez + + * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Adjust test because aarch64 + has a slightly different IL that provides more threading + opportunities. + 2018-07-04 Martin Liska PR middle-end/66240 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c index 9ee8d12010b..e395de26ec0 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c @@ -2,11 +2,16 @@ /* { dg-options "-O2 -fdump-tree-thread1-stats -fdump-tree-thread2-stats -fdump-tree-dom2-stats -fdump-tree-thread3-stats -fdump-tree-dom3-stats -fdump-tree-vrp2-stats -fno-guess-branch-probability" } */ /* { dg-final { scan-tree-dump "Jumps threaded: 16" "thread1" } } */ /* { dg-final { scan-tree-dump "Jumps threaded: 9" "thread2" } } */ -/* { dg-final { scan-tree-dump "Jumps threaded: 3" "thread3" } } */ /* { dg-final { scan-tree-dump "Jumps threaded: 1" "dom2" } } */ /* { dg-final { scan-tree-dump-not "Jumps threaded" "dom3" } } */ /* { dg-final { scan-tree-dump-not "Jumps threaded" "vrp2" } } */ +/* Most architectures get 3 threadable paths here, whereas aarch64 and + possibly others get 5. We really should rewrite threading tests to + test a specific IL sequence, not gobs of code whose IL can vary + from architecture to architecture. */ +/* { dg-final { scan-tree-dump "Jumps threaded: \[35\]" "thread3" } } */ + enum STATE { S0=0, SI, -- 2.30.2