tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the computed cost.
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the computed cost. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r160636
This commit is contained in:
parent
ef1f5ea659
commit
5914a70f0b
@ -1,3 +1,9 @@
|
|||||||
|
2010-06-11 Sandra Loosemore <sandra@codesourcery.com>
|
||||||
|
Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
|
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the
|
||||||
|
computed cost.
|
||||||
|
|
||||||
2010-06-11 Uros Bizjak <ubizjak@gmail.com>
|
2010-06-11 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
* config/i386/i386.md (unspec): New define_c_enum.
|
* config/i386/i386.md (unspec): New define_c_enum.
|
||||||
|
@ -3875,6 +3875,7 @@ get_computation_cost_at (struct ivopts_data *data,
|
|||||||
aratio = ratio > 0 ? ratio : -ratio;
|
aratio = ratio > 0 ? ratio : -ratio;
|
||||||
if (aratio != 1)
|
if (aratio != 1)
|
||||||
cost.cost += multiply_by_cost (aratio, TYPE_MODE (ctype), speed);
|
cost.cost += multiply_by_cost (aratio, TYPE_MODE (ctype), speed);
|
||||||
|
return cost;
|
||||||
|
|
||||||
fallback:
|
fallback:
|
||||||
if (can_autoinc)
|
if (can_autoinc)
|
||||||
|
Loading…
Reference in New Issue
Block a user