diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-10 12:31:00 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-10 12:31:00 +0000 |
commit | 772d76acb5aead98eb3c47a78363d867287d5e77 (patch) | |
tree | 7e869ef49d54c0c480c4f5e23e192d7ac830fff2 /gcc/tree-vectorizer.c | |
parent | 4725f62789f25b17967695203d7ee821221e2dd6 (diff) | |
download | gcc-772d76acb5aead98eb3c47a78363d867287d5e77.zip gcc-772d76acb5aead98eb3c47a78363d867287d5e77.tar.gz gcc-772d76acb5aead98eb3c47a78363d867287d5e77.tar.bz2 |
vect: Remove vec_outside/inside_cost fields
The vector costs now use a common base class instead of being
completely abstract. This means that there's no longer a
need to record the inside and outside costs separately.
gcc/
* tree-vectorizer.h (_loop_vec_info): Remove vec_outside_cost
and vec_inside_cost.
(vector_costs::outside_cost): New function.
* tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Update
after above.
(vect_estimate_min_profitable_iters): Likewise.
(vect_better_loop_vinfo_p): Get the inside and outside costs
from the loop_vec_infos' vector_costs.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions