tree-parloops.c: use gimple_phi in various places
commit800c1906c12b3ec1fa48b8a6eae640348502dcb9
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 10 Dec 2013 21:19:07 +0000 (10 16:19 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:23:46 +0000 (24 17:23 -0400)
treead92a149bd7d3c8b5118960c319790d9320e0dc4
parent264943c1393c7aef9ff30fed91668cf90f68b4e2
tree-parloops.c: use gimple_phi in various places

This corresponds to:
  [PATCH 11/89] tree-parloops.c: use gimple_phi in various places
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01149.html
from the original 89-patch kit

That earlier patch was approved by Jeff:
> OK when prerequisites have gone in.
in https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00620.html

gcc/
* tree-parloops.c (struct reduction_info): Strengthen field "new_phi"
from gimple to gimple_phi.
(create_phi_for_local_result): Convert local "new_phi" to gimple_phi.
(loop_has_vector_phi_nodes): Require a gimple_phi rather than a gimple.
(gather_scalar_reductions): Convert to a gimple_phi_iterator and
gimple_phi.
(try_create_reduction_list): Likewise.
gcc/ChangeLog.gimple-classes
gcc/tree-parloops.c