tree-ssa-loop-ivopts.c (struct iv_ca): Rename n_regs to n_invs.
authorBin Cheng <bin.cheng@arm.com>
Tue, 2 May 2017 16:14:53 +0000 (16:14 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 2 May 2017 16:14:53 +0000 (16:14 +0000)
commit1136cae41bea892b33586aa52e90889b736fce53
tree74d3c208eed8ea77322baacc135dfa7b9a8161fe
parent1c52c69ff0c82a27d8a6884310861138ef708ca2
tree-ssa-loop-ivopts.c (struct iv_ca): Rename n_regs to n_invs.

* tree-ssa-loop-ivopts.c (struct iv_ca): Rename n_regs to n_invs.
(ivopts_global_cost_for_size): Rename parameter and update uses.
(iv_ca_recount_cost): Update uses.
(iv_ca_set_remove_invs, iv_ca_set_no_cp): Record invariants and
candidates seperately in n_invs and n_cands.
(iv_ca_set_add_invs, iv_ca_set_cp, iv_ca_new): Ditto.

From-SVN: r247515
gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c