tree-optimization/98191 - fix BIT_INSERT_EXPR sequence vectorization
authorRichard Biener <rguenther@suse.de>
Tue, 8 Dec 2020 08:56:53 +0000 (09:56 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 8 Dec 2020 09:36:47 +0000 (10:36 +0100)
commitc2c198bfd1e747b761c6b9b13417685bd4378d57
tree264205201bfc13b04b095968cbabcb25aa997217
parenta294e6368f80ac27c5150414027d1cf2a21bd9b7
tree-optimization/98191 - fix BIT_INSERT_EXPR sequence vectorization

This adds a missing check.

2020-12-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/98191
* tree-vect-slp.c (vect_slp_check_for_constructors): Do not
follow a non-SSA def chain.

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