]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add misalignment output parameter to get_load_store_type
authorRichard Biener <rguenther@suse.de>
Mon, 18 Oct 2021 12:59:54 +0000 (14:59 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 19 Oct 2021 08:12:45 +0000 (10:12 +0200)
commitd19d90289d1343e4fb0550eb1151db6da8a0d1ce
tree23e8e1e65293a07e06db371ef410f0de82fcaebb
parentf45610a45236e97616726ca042898d6ac46a082e
Add misalignment output parameter to get_load_store_type

This makes us compute the misalignment alongside the alignment support
scheme in get_load_store_type, removing some out-of-place calls to
the DR alignment API.

2021-10-18  Richard Biener  <rguenther@suse.de>

* tree-vect-stmts.c (get_group_load_store_type): Add
misalignment output parameter and initialize it.
(get_group_load_store_type): Likewise.
(vectorizable_store): Remove now redundant queries.
(vectorizable_load): Likewise.
gcc/tree-vect-stmts.c