Commit 5914a70f by Sandra Loosemore Committed by Eric Botcazou

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
parent ef1f5ea6
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>
* 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;
if (aratio != 1)
cost.cost += multiply_by_cost (aratio, TYPE_MODE (ctype), speed);
return cost;
fallback:
if (can_autoinc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment