diff options
author | Richard Biener <rguenther@suse.de> | 2023-07-26 13:31:16 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-07-26 15:27:24 +0200 |
commit | 5d09fb683a8abce49dc0992f5102aa0189f8f632 (patch) | |
tree | a3bc5c15e292c1054d464c07cd01fe2fd3f1fea3 /gcc/tree-into-ssa.h | |
parent | 386df7ce7b38ef00e28080a779ef2dfd6949cf15 (diff) | |
download | gcc-5d09fb683a8abce49dc0992f5102aa0189f8f632.zip gcc-5d09fb683a8abce49dc0992f5102aa0189f8f632.tar.gz gcc-5d09fb683a8abce49dc0992f5102aa0189f8f632.tar.bz2 |
tree-optimization/106081 - elide redundant permute
The following patch makes sure to elide a redundant permute that
can be merged with existing splats represented as load permutations
as we now do for non-grouped SLP loads. This is the last bit
missing to fix this PR where the main fix was already done by
r14-2117-gdd86a5a69cbda4
PR tree-optimization/106081
* tree-vect-slp.cc (vect_optimize_slp_pass::start_choosing_layouts):
Assign layout -1 to splats.
* gcc.dg/vect/pr106081.c: New testcase.
Diffstat (limited to 'gcc/tree-into-ssa.h')
0 files changed, 0 insertions, 0 deletions