* tree-ssa-loop-ivopts.c (enum comp_iv_rewrite): New.
commit7b3dc7d4443df351a46c1606ddf5a21e939e941c
authoramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 May 2017 09:48:55 +0000 (11 09:48 +0000)
committeramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 May 2017 09:48:55 +0000 (11 09:48 +0000)
treedc11aaf81c5aba8664bfdce011c774bf1ebfd849
parent59a86519747d39d1e53426004f84e2be39524c73
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247892 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c