diff options
author | Richard Guenther <rguenther@suse.de> | 2009-04-02 09:10:53 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-04-02 09:10:53 +0000 |
commit | bf1cbdc6e43e3a62ef6ecac786ac70ecf5851ef6 (patch) | |
tree | 1a6f6d8f33ade81a49b8870ef8209f8ef2aa991e /gcc/tree-flow.h | |
parent | 4bb7dbf60ef02a1172371a21e44533aa717a533a (diff) | |
download | gcc-bf1cbdc6e43e3a62ef6ecac786ac70ecf5851ef6.zip gcc-bf1cbdc6e43e3a62ef6ecac786ac70ecf5851ef6.tar.gz gcc-bf1cbdc6e43e3a62ef6ecac786ac70ecf5851ef6.tar.bz2 |
re PR middle-end/37221 (Missed early loop-unroll optimization - causes 40% degradation on SPU)
2009-04-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/37221
* tree-flow.h (degenerate_phi_result): Declare.
* tree-ssa-dom.c (degenerate_phi_result): Export.
* tree-scalar-evolution.c (analyze_initial_condition): If
the initial condition is defined by a degenerate PHI node
use the degenerate value.
* gcc.c-torture/compile/20090331-1.c: New testcase.
From-SVN: r145439
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 07fb9be..868b762 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -919,6 +919,7 @@ bool simplify_stmt_using_ranges (gimple_stmt_iterator *); extern void dump_dominator_optimization_stats (FILE *); extern void debug_dominator_optimization_stats (void); int loop_depth_of_name (tree); +tree degenerate_phi_result (gimple); /* In tree-ssa-copy.c */ extern void merge_alias_info (tree, tree); |