aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2012-03-12 17:53:57 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2012-03-12 10:53:57 -0700
commitb928d32b668a27f88fa29204411a98262d9dfa44 (patch)
tree8ddbdd3046d09f0c4df8090dc9b2e60b4c9b77a8 /gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c
parent2f986dce2c1dd37ac86ae4da1c0e51c9b516858a (diff)
downloadgcc-b928d32b668a27f88fa29204411a98262d9dfa44.zip
gcc-b928d32b668a27f88fa29204411a98262d9dfa44.tar.gz
gcc-b928d32b668a27f88fa29204411a98262d9dfa44.tar.bz2
tree-ssa-phiopt.c (single_non_singleton_phi_for_edges): New function.
2012-03-12 Andrew Pinski <apinski@cavium.com> * tree-ssa-phiopt.c (single_non_singleton_phi_for_edges): New function. (tree_ssa_phiopt_worker): Use single_non_singleton_phi_for_edges. (value_replacement): Likewise. (empty_block_p): Check also if the PHIs for the block are empty. 2012-03-12 Andrew Pinski <apinski@cavium.com> * gcc.dg/tree-ssa/phi-opt-7.c: New testcase. From-SVN: r185254
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c')
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c b/gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c
index 31dab46..775926d 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/phi-opt-8.c
@@ -19,7 +19,7 @@ int f(int t, int c)
but currently is not as PHI-OPT does not reduce the t PHI as we have
two phis. Note this is fixed with
http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01195.html . */
-/* { dg-final { scan-tree-dump-not "if" "phiopt1" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-not "if" "phiopt1" } } */
/* { dg-final { scan-tree-dump "g .t_\[0-9\]*.D.," "optimized" } } */
/* { dg-final { scan-tree-dump-not "PHI" "optimized" } } */
/* { dg-final { cleanup-tree-dump "phiopt1" } } */