diff options
author | Richard Biener <rguenther@suse.de> | 2024-11-25 09:46:28 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-11-25 10:50:23 +0100 |
commit | 0b47d7579e84daa4dfa16baef1133ab73adc502d (patch) | |
tree | 051b39d9356c0c8848c3520572a869982f8271a9 /gcc/config.gcc | |
parent | e984ba40aa0c1fa3460e0266deb59b9036ba8454 (diff) | |
download | gcc-0b47d7579e84daa4dfa16baef1133ab73adc502d.zip gcc-0b47d7579e84daa4dfa16baef1133ab73adc502d.tar.gz gcc-0b47d7579e84daa4dfa16baef1133ab73adc502d.tar.bz2 |
tree-optimization/117767 - VMAT_STRIDED_SLP and alignment
This plugs another hole in alignment checking with VMAT_STRIDED_SLP.
When using an alternate load or store type we have to check whether
that's supported with respect to required vector alignment.
PR tree-optimization/117767
* tree-vect-stmts.cc (vectorizable_store): Check for supported
alignment before using a an alternate store vector type.
(vectorizable_load): Likewise for loads.
* gcc.dg/vect/pr117767.c: New testcase.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions