re PR tree-optimization/91207 (Wrong code with -O3)
authorRichard Biener <rguenther@suse.de>
Fri, 19 Jul 2019 08:47:41 +0000 (08:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 19 Jul 2019 08:47:41 +0000 (08:47 +0000)
commitbc59a4cf1af79b77e3621b2103efc02c57ac7aec
tree5b8dbe3c6a2e65290e4993822d446d8b0f3a7706
parentdaaa6fcc70ffe66bd56f5819ad4ee78fecd54bb6
re PR tree-optimization/91207 (Wrong code with -O3)

2019-07-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91207
Revert
2019-07-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91178
* tree-vect-stmts.c (get_group_load_store_type): For SLP
loads with a gap larger than the vector size always use
VMAT_STRIDED_SLP.
(vectorizable_load): For VMAT_STRIDED_SLP with a permutation
avoid loading vectors that are only contained in the gap
and thus are not needed.

* gcc.dg/torture/pr91207.c: New testcase.

From-SVN: r273593
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr91207.c [new file with mode: 0644]
gcc/tree-vect-stmts.c