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
This commit is contained in:
Aldy Hernandez 2018-07-04 08:04:55 +00:00 committed by Aldy Hernandez
parent 175b7dd42a
commit 6e38deee46
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2018-07-04 Aldy Hernandez <aldyh@redhat.com>
* 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 <mliska@suse.cz>
PR middle-end/66240

View file

@ -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,