diff options
author | Richard Guenther <rguenther@suse.de> | 2011-09-07 11:28:39 +0000 |
---|---|---|
committer | Richard Guenther <rguenther@suse.de> | 2011-09-07 11:28:39 +0000 |
commit | 44e9b72a0eb84222d344544c4611fbdaf76b42a3 (patch) | |
tree | c6bedca9793378da04071c4b6c255b9f6de8eec4 /gcc/tree-flow.h | |
parent | 89ba9a887df9ffe3e75c18e214268665c6e4a698 (diff) |
2011-09-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50213
* tree-flow.h (simple_iv_increment_p): Declare.
* tree-ssa-dom.c (simple_iv_increment_p): Export. Also handle
POINTER_PLUS_EXPR.
* tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Do
not propagate simple IV counter increments.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@178633 138bc75d-0d04-0410-961f-82ee72b054a4
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 28c0d8aabbc..d4bf54cbe69 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -597,6 +597,7 @@ 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); +bool simple_iv_increment_p (gimple); /* In tree-ssa-copy.c */ extern void propagate_value (use_operand_p, tree); |