diff options
author | Richard Biener <rguenther@suse.de> | 2024-09-03 09:23:20 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-09-03 11:31:12 +0200 |
commit | ac6cd62a351a8f1f3637a2552c74eb5eb51cfdda (patch) | |
tree | ebd7fe762f94af37ae59b749adf92d9c3ee7d11d /gcc/tree-pass.h | |
parent | 9b312595f9ac073f55d858b6f833097608b40bba (diff) | |
download | gcc-ac6cd62a351a8f1f3637a2552c74eb5eb51cfdda.zip gcc-ac6cd62a351a8f1f3637a2552c74eb5eb51cfdda.tar.gz gcc-ac6cd62a351a8f1f3637a2552c74eb5eb51cfdda.tar.bz2 |
tree-optimization/116575 - avoid ICE with SLP mask_load_lane
The following avoids performing re-discovery with single lanes in
the attempt to for the use of mask_load_lane as rediscovery will
fail since a single lane of a mask load will appear permuted which
isn't supported.
PR tree-optimization/116575
* tree-vect-slp.cc (vect_analyze_slp): Properly compute
the mask argument for vect_load/store_lanes_supported.
When the load is masked for now avoid rediscovery.
* gcc.dg/vect/pr116575.c: New testcase.
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions