tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter important_candidates.
authorBin Cheng <bin.cheng@arm.com>
Thu, 28 Aug 2014 08:03:18 +0000 (08:03 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 28 Aug 2014 08:03:18 +0000 (08:03 +0000)
commitf22ae1ecbd724ed01423a2132b5631a5d7c0ee10
tree692cb565a3a538c3d3b45e817d9e2960ac0e708a
parent8a2d2bf000248f89ec12f286cc673fbb279a45b9
tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter important_candidates.

* tree-ssa-loop-ivopts.c (iv_ca_add_use): Delete parameter
important_candidates.  Consider all important candidates if
IVS doesn't give any result.  Remove check on ivs->upto.
(try_add_cand_for): Call iv_ca_add_use only once.

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