]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-loop-ivopts.c (enum comp_iv_rewrite): New.
authorBin Cheng <bin.cheng@arm.com>
Thu, 11 May 2017 09:48:55 +0000 (09:48 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 11 May 2017 09:48:55 +0000 (09:48 +0000)
commitb6a2258fda637660ece6705cf19e4f7ef6674df8
treedc11aaf81c5aba8664bfdce011c774bf1ebfd849
parent014ef6e1323b3a2ac9ff1fd6a182698d78c7326a
tree-ssa-loop-ivopts.c (enum comp_iv_rewrite): New.

* tree-ssa-loop-ivopts.c (enum comp_iv_rewrite): New.
(extract_cond_operands): Detect condition comparing against non-
invariant bound and return appropriate enum value.
(find_interesting_uses_cond): Update use of extract_cond_operands.
Handle its return value accordingly.
(determine_group_iv_cost_cond, rewrite_use_compare): Ditto.

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