diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2010-06-11 17:53:59 -0400 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-06-11 21:53:59 +0000 |
commit | 5914a70f0b669ed041d200b8b6e67a6e601e2c66 (patch) | |
tree | 5a659dcd255dd39d0d84af164d5a2b8f0d0b2424 /gcc/tree-ssa-loop-ivopts.c | |
parent | ef1f5ea659a082a245151996b62f1287282398d8 (diff) | |
download | gcc-5914a70f0b669ed041d200b8b6e67a6e601e2c66.zip gcc-5914a70f0b669ed041d200b8b6e67a6e601e2c66.tar.gz gcc-5914a70f0b669ed041d200b8b6e67a6e601e2c66.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 53ad252..32b8935 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -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) |