2017-10-11 Richard Biener <rguenther@suse.de>
commitf1528ccd162b52bdd339675c113880a009247bc8
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Oct 2017 07:21:05 +0000 (11 07:21 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Oct 2017 07:21:05 +0000 (11 07:21 +0000)
treeac6604aa5accf0c323bce2a70f454d89c4b0b287
parent2bda4afa851cc004f55c6ddf2f3fb16724e2084f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253629 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-scalar-evolution.c