diff options
author | Richard Biener <rguenther@suse.de> | 2021-10-18 15:55:22 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-10-19 16:09:01 +0200 |
commit | 93bd0213885739a1073f8c98911f8a00c0eb5597 (patch) | |
tree | 64e1e20c84b9ed5128131476933af6b6d2234d14 /gcc/config.gcc | |
parent | 5a8832b1659e311437d25b7ec8b078be27ae54b8 (diff) | |
download | gcc-93bd0213885739a1073f8c98911f8a00c0eb5597.zip gcc-93bd0213885739a1073f8c98911f8a00c0eb5597.tar.gz gcc-93bd0213885739a1073f8c98911f8a00c0eb5597.tar.bz2 |
Refactor vect_supportable_dr_alignment
This refactors vect_supportable_dr_alignment to get the misalignment
as input parameter which allows us to elide modifying/restoring
of DR_MISALIGNMENT during alignment peeling analysis which eventually
makes it more straight-forward to split out the negative step
handling.
2021-10-19 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (vect_supportable_dr_alignment): Add
misalignment parameter.
* tree-vect-data-refs.c (vect_get_peeling_costs_all_drs):
Do not change DR_MISALIGNMENT in place, instead pass the
adjusted misalignment to vect_supportable_dr_alignment.
(vect_peeling_supportable): Likewise.
(vect_peeling_hash_get_lowest_cost): Adjust.
(vect_enhance_data_refs_alignment): Likewise.
(vect_vfa_access_size): Likewise.
(vect_supportable_dr_alignment): Add misalignment
parameter and simplify.
* tree-vect-stmts.c (get_negative_load_store_type): Adjust.
(get_group_load_store_type): Likewise.
(get_load_store_type): Likewise.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions