tree-ssa-loop-ivopts.c (compare_cost_pair): New.
authorBin Cheng <bin.cheng@arm.com>
Thu, 11 May 2017 09:55:56 +0000 (09:55 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 11 May 2017 09:55:56 +0000 (09:55 +0000)
commite292d60603794a494b130475e247123018e3b104
tree249ae422c5f4dd0ad71638c77764c3f4dd372cc5
parente97cac0271d7322d643fed8c6bf6ba8ec3aad451
tree-ssa-loop-ivopts.c (compare_cost_pair): New.

* tree-ssa-loop-ivopts.c (compare_cost_pair): New.
(iv_ca_more_deps): Renamed to ...
(iv_ca_compare_deps): ... this.
(iv_ca_extend): Extend iv_ca if NEW_CP is cheaper than OLD_CP.

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