]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/101615 - SLP permute opt with CTOR roots
authorRichard Biener <rguenther@suse.de>
Wed, 28 Jul 2021 13:12:00 +0000 (15:12 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 28 Jul 2021 15:41:25 +0000 (17:41 +0200)
commit3c91efec15af4f922a9af495e178bbb66d2e9d1f
treedb19daa9c071ab3e79a8cb97e00e9d494b638879
parent8b06ccb20eaf2e7cb85e9dca23f1599ee37d17a7
tree-optimization/101615 - SLP permute opt with CTOR roots

CTOR roots are not explicitely represented so we have to make sure
to materialize permutes on SLP graph entries to them.

2021-07-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/101615
* tree-vect-slp.c (vect_optimize_slp): Materialize permutes
at CTOR SLP graph entries.

* gcc.dg/vect/bb-slp-pr101615-2.c: New testcase.
gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c [new file with mode: 0644]
gcc/tree-vect-slp.c
This page took 0.066454 seconds and 6 git commands to generate.