tree-predcom.c: (struct chain): Handle store-store chain in which stores for eliminat...
authorBin Cheng <bin.cheng@arm.com>
Fri, 28 Jul 2017 15:03:09 +0000 (15:03 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 28 Jul 2017 15:03:09 +0000 (15:03 +0000)
commit39ff50cef10f8fb7fa8e44c3feb7b4a85a8fae56
tree9e1702e8c04bd73af894e541d55a3cf103dfcf78
parentd9c259efd71ab62d4994b0ad489aa977f3ff736d
tree-predcom.c: (struct chain): Handle store-store chain in which stores for elimination only...

* tree-predcom.c: (struct chain): Handle store-store chain in which
stores for elimination only store loop invariant values.
(execute_pred_commoning_chain): Ditto.
(prepare_initializers_chain_store_elim): Ditto.
(prepare_finalizers): Ditto.
(is_inv_store_elimination_chain): New function.
(initialize_root_vars_store_elim_1): New function.

From-SVN: r250670
gcc/ChangeLog
gcc/tree-predcom.c