tree-scalar-evolution.c (get_scalar_evolution): Handle default-defs and types we...
authorRichard Biener <rguenther@suse.de>
Wed, 11 Oct 2017 07:21:05 +0000 (07:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 Oct 2017 07:21:05 +0000 (07:21 +0000)
commit5355943cc1acedefcfe08308369937182406518a
treeac6604aa5accf0c323bce2a70f454d89c4b0b287
parente9593da8cc07949e85354d1ff316438e63be076d
tree-scalar-evolution.c (get_scalar_evolution): Handle default-defs and types we do not want to analyze.

2017-10-11  Richard Biener  <rguenther@suse.de>

* tree-scalar-evolution.c (get_scalar_evolution): Handle
default-defs and types we do not want to analyze.
(interpret_loop_phi): Replace unreachable code with an assert.
(compute_scalar_evolution_in_loop): Remove and inline ...
(analyze_scalar_evolution_1): ... here, replacing condition with
what makes the intent clearer.  Remove handling of cases
get_scalar_evolution now handles.

From-SVN: r253629
gcc/ChangeLog
gcc/tree-scalar-evolution.c