tree-ssa-loop-ivopts.c
134 KB
-
tree-ssa-loop-ivopts.c (extract_cond_operands): Split from find_interesting_uses_cond. · b697aed4
* 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. From-SVN: r120697
Zdenek Dvorak committed