]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/117698 - SLP vectorization and alignment
authorRichard Biener <rguenther@suse.de>
Wed, 20 Nov 2024 12:32:48 +0000 (13:32 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 20 Nov 2024 17:38:14 +0000 (18:38 +0100)
commit2383ed144b54be6bae5ba5aec8859c6c2e215daf
tree6f8b7f2dfe93de5c19407b9bb7a37c310ef31838
parent16cf1c010dbee4e411f0d1289830bfb6ed5c7807
tree-optimization/117698 - SLP vectorization and alignment

When SLP vectorizing we fail to mark the general alignment check
as irrelevant when using VMAT_STRIDED_SLP (the implementation checks
for itself) and when VMAT_INVARIANT the override isn't effective.

This results in extra FAILs on sparc which the following fixes.

PR tree-optimization/117698
* tree-vect-stmts.cc (get_group_load_store_type): Properly
disregard alignment for VMAT_STRIDED_SLP and VMAT_INVARIANT.
(vectorizable_load): Adjust guard for dumping whether we
vectorize and unaligned access.
(vectorizable_store): Likewise.
gcc/tree-vect-stmts.cc