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 | 4725f62789f25b17967695203d7ee821221e2dd6 (patch) | |
tree | 70d6cf997c830af45ee9f52bff0117776b850488 /gcc/config.gcc | |
parent | d70ef65692fced7ab72e0aceeff7407e5a34d96d (diff) | |
download | gcc-4725f62789f25b17967695203d7ee821221e2dd6.zip gcc-4725f62789f25b17967695203d7ee821221e2dd6.tar.gz gcc-4725f62789f25b17967695203d7ee821221e2dd6.tar.bz2 |
vect: Move vector costs to loop_vec_info
target_cost_data is in vec_info but is really specific to
loop_vec_info. This patch moves it there and renames it to
vector_costs, to distinguish it from scalar target costs.
gcc/
* tree-vectorizer.h (vec_info::target_cost_data): Replace with...
(_loop_vec_info::vector_costs): ...this.
(LOOP_VINFO_TARGET_COST_DATA): Delete.
* tree-vectorizer.c (vec_info::vec_info): Remove target_cost_data
initialization.
(vec_info::~vec_info): Remove corresponding delete.
* tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Initialize
vector_costs to null.
(_loop_vec_info::~_loop_vec_info): Delete vector_costs.
(vect_analyze_loop_operations): Update after above changes.
(vect_analyze_loop_2): Likewise.
(vect_estimate_min_profitable_iters): Likewise.
* tree-vect-slp.c (vect_slp_analyze_operations): Likewise.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions