tree-predcom.c: use gimple_phi in various places
commit0ddcbc11e4a1c4761533c29a8f3c3814efbe045e
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 10 Dec 2013 21:23:49 +0000 (10 16:23 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:23:47 +0000 (24 17:23 -0400)
tree955961a01348fe1ae6b7358a8be0aa591f104272
parent800c1906c12b3ec1fa48b8a6eae640348502dcb9
tree-predcom.c: use gimple_phi in various places

This corresponds to:
  [PATCH 12/89] tree-predcom.c: use gimple_phi in various places
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01229.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/msg00621.html

gcc/
* tree-predcom.c (find_looparound_phi): Return a gimple_phi rather
than just a gimple.
(insert_looparound_copy): Require a gimple_phi rather than just a
gimple.
(add_looparound_copies): Convert local "phi" to be a gimple_phi.
(initialize_root_vars): Likewise.
(initialize_root_vars_lm): Likewise.
gcc/ChangeLog.gimple-classes
gcc/tree-predcom.c