aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wshift-overflow-1.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-10-16 10:09:36 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-10-16 13:04:38 +0200
commit62cdddd4e621a8182c58161188009f1e9b256e1b (patch)
treed266809386d19a401eec682eabe1ae80325165c3 /gcc/testsuite/c-c++-common/Wshift-overflow-1.c
parentae224de0631a7fcac37ac1384f457f1dc1a487b2 (diff)
downloadgcc-62cdddd4e621a8182c58161188009f1e9b256e1b.zip
gcc-62cdddd4e621a8182c58161188009f1e9b256e1b.tar.gz
gcc-62cdddd4e621a8182c58161188009f1e9b256e1b.tar.bz2
Enhance gather fallback for PR65518 with SLP
With SLP forced we fail to use gather for PR65518 on RISC-V as expected because we're failing due to not effective peeling for gaps. The following appropriately moves the memory_access_type adjustment before doing all the overrun checking since using VMAT_ELEMENTWISE means there's no overrun. * tree-vect-stmts.cc (get_group_load_store_type): Move VMAT_ELEMENTWISE fallback for single-element interleaving of too large groups before overrun checking. * gcc.dg/vect/pr65518.c: Adjust.
Diffstat (limited to 'gcc/testsuite/c-c++-common/Wshift-overflow-1.c')
0 files changed, 0 insertions, 0 deletions