tree-ssa-loop-ivopts.c: use gimple_phi in a few places
commit6908c9c68a779a94f915cb86eb2ea6f6ddf37ec5
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 10 Dec 2013 21:41:16 +0000 (10 16:41 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:23:53 +0000 (24 17:23 -0400)
tree406b159f0b1facac4c6c1bff6b4eb89e9852d33d
parentd8785b834b9b2f1a9e898d1eab5a0dbf0eeb0c4c
tree-ssa-loop-ivopts.c: use gimple_phi in a few places

This corresponds to:
  [PATCH 16/89] tree-ssa-loop-ivopts.c: use gimple_phi in a few places
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01165.html
from the original 89-patch kit

That earlier patch was approved by Jeff:
> OK when prerequisites have gone in.
> Actually that's true for #17 & #18 as well.
in https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00626.html

gcc/
* tree-ssa-loop-ivopts.c (determine_biv_step): Require a gimple_phi.
(find_bivs): Convert local "phi" into a gimple_phi.
(mark_bivs): Likewise.
gcc/ChangeLog.gimple-classes
gcc/tree-ssa-loop-ivopts.c