diff options
author | Richard Biener <rguenther@suse.de> | 2021-06-28 09:42:58 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-06-28 09:42:58 +0200 |
commit | 2ad71efb5de9e929ffd2b8ce0a37c3c34021c0f1 (patch) | |
tree | 8d9bd3176cffb59d65c31dd6daf968aa91b24706 /gcc/tree-ssa-phiopt.c | |
parent | 0ad9d88a3d7170b3d864693c9eb512f89a5096ff (diff) | |
download | gcc-2ad71efb5de9e929ffd2b8ce0a37c3c34021c0f1.zip gcc-2ad71efb5de9e929ffd2b8ce0a37c3c34021c0f1.tar.gz gcc-2ad71efb5de9e929ffd2b8ce0a37c3c34021c0f1.tar.bz2 |
tree-optimization/101207 - fix BB reduc permute elide with life stmts
This fixes breakage of live lane extracts from permuted loads we elide
from BB reduction vectorization by handling the un-permuting the same
as in the regular eliding code - apply the reverse permute to
both the scalar stmts and the load permutation.
2021-06-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/101207
* tree-vect-slp.c (vect_optimize_slp): Do BB reduction
permute eliding for load permutations properly.
* gcc.dg/vect/bb-slp-pr101207.c: New testcase.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions