Make gimple_phi_arg_location_from_edge require a gimple_phi
commit96fad1320fc59f2f559245ee0c2e6fde24cbd1c0
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 19 Dec 2013 19:47:17 +0000 (19 14:47 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:25:09 +0000 (24 17:25 -0400)
tree15f78b0877ad8c87b32d4cb6758c37d9b3186b70
parenta374d6436050e7fad543540858443af3551583b1
Make gimple_phi_arg_location_from_edge require a gimple_phi

This corresponds to:
  [PATCH 66/89] Make gimple_phi_arg_location_from_edge require a gimple_phi
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01199.html
from the original 89-patch kit

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

gcc/
* gimple.h (gimple_phi_arg_location_from_edge): Require a
gimple_phi.

* tree-parloops.c (create_parallel_loop): Split up local variable
"stmt", introducing other locals for the various statements created
by this function.  Reuse "stmt" within the phi-handling code, and
change to type gimple_phi, since this is the only remaining
"non-phi" user of gimple_phi_arg_location_from_edge.
gcc/ChangeLog.gimple-classes
gcc/gimple.h
gcc/tree-parloops.c