aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-06-28 09:42:58 +0200
committerRichard Biener <rguenther@suse.de>2021-06-28 09:42:58 +0200
commit2ad71efb5de9e929ffd2b8ce0a37c3c34021c0f1 (patch)
tree8d9bd3176cffb59d65c31dd6daf968aa91b24706 /gcc/tree-ssa-phiopt.c
parent0ad9d88a3d7170b3d864693c9eb512f89a5096ff (diff)
downloadgcc-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