diff options
author | Richard Biener <rguenther@suse.de> | 2024-09-24 10:42:01 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-09-27 09:20:24 +0200 |
commit | 3db9e99165968af8479468cd373990da2f116e3b (patch) | |
tree | 71f6a1cd29648cccd9add3af0071bf87f4c1fa47 /libgcc | |
parent | 9c04112fdc221b0a337f88572dfef4caaca78349 (diff) | |
download | gcc-3db9e99165968af8479468cd373990da2f116e3b.zip gcc-3db9e99165968af8479468cd373990da2f116e3b.tar.gz gcc-3db9e99165968af8479468cd373990da2f116e3b.tar.bz2 |
Fix bogus SLP nvector compute in check_load_store_for_partial_vectors
We have a new overload for vect_get_num_copies that handles both
SLP and non-SLP. Use it and avoid the division by group_size
for SLP when not using load-store lanes.
* tree-vect-stmts.cc (check_load_store_for_partial_vectors):
Use the new vect_get_num_copies overload. Only divide by
group_size for SLP for load-store lanes.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions