]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/101264 - rework SLP "any" permute forward prop
authorRichard Biener <rguenther@suse.de>
Wed, 30 Jun 2021 07:48:37 +0000 (09:48 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 30 Jun 2021 09:14:12 +0000 (11:14 +0200)
commit39da8a7ba9a3a643e6318a5534d5d7c85a3bedfa
treeb8edb06e09ca7a09b052581428ad5fd1b8fd9efb
parent35da8a98026849bd20d16bbf9210ac1d0b44ea6a
tree-optimization/101264 - rework SLP "any" permute forward prop

This integrates the forward propagation of SLP "any" permutes into
the main propagation stage as a separate single-pass propagation
didn't work out.

2021-06-30  Richard Biener  <rguenther@suse.de>

PR tree-optimization/101264
* tree-vect-slp.c (vect_optimize_slp): Propagate the
computed perm_in to all "any" permute successors
we cannot de-duplicate immediately.

* gfortran.dg/pr101264.f90: New testcase.
gcc/testsuite/gfortran.dg/pr101264.f90 [new file with mode: 0644]
gcc/tree-vect-slp.c