aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-11-08 09:43:26 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2024-11-12 08:33:58 +0100
commit61cd1c43b82dc9d4c3edf122d22887fdce340223 (patch)
treeca74e11b310c61c963dc524fdb655b7eaec73449 /gcc/tree-vectorizer.h
parent0b27a7dd050262a7d64d87863201e4ebbde88386 (diff)
downloadgcc-61cd1c43b82dc9d4c3edf122d22887fdce340223.zip
gcc-61cd1c43b82dc9d4c3edf122d22887fdce340223.tar.gz
gcc-61cd1c43b82dc9d4c3edf122d22887fdce340223.tar.bz2
tree-optimization/117484 - issue with SLP discovery of permuted .MASK_LOAD
When we do SLP discovery of a .MASK_LOAD for a dataref group with gaps the discovery for the mask will have gaps as well and this was unexpected in a few places. The following re-organizes things slightly to accomodate for this. PR tree-optimization/117484 * tree-vect-slp.cc (vect_build_slp_tree_2): Handle gaps in mask discovery. Fix condition to release the load permutation. (vect_lower_load_permutations): Assert we get no load permutation for the unpermuted node. * tree-vect-slp-patterns.cc (linear_loads_p): Properly identify loads (without permutation). (compatible_complex_nodes_p): Likewise. * gcc.dg/vect/pr117484-1.c: New testcase. * gcc.dg/vect/pr117484-2.c: Likewise.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions