diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-12 00:30:38 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-12 00:30:38 +0000 |
commit | 02f8cd872b7126aaf6de8c08bce54e70adfd5d0a (patch) | |
tree | aed9d0f595d8828a2ea41ab83bbc721e5a71ea58 /libiberty | |
parent | c1692747b83776359e5a5b17a942037e66d5424f (diff) | |
download | gcc-02f8cd872b7126aaf6de8c08bce54e70adfd5d0a.tar.gz |
* tree-ssa-loop-ivopts.c (extract_cond_operands): Split from
find_interesting_uses_cond.
(find_interesting_uses_cond): Use extract_cond_operands.
(rewrite_use_compare): Use extract_cond_operands and
force_gimple_operand_bsi. Do not call update_stmt.
(determine_use_iv_cost_condition): Use extract_cond_operands.
Return cheaper of using original bound and changing the exit bound.
* gcc.dg/tree-ssa/loop-22.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120697 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions