tree-optimization/97886 - deal with strange LC PHI nodes
authorRichard Biener <rguenther@suse.de>
Wed, 18 Nov 2020 09:32:29 +0000 (10:32 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 18 Nov 2020 10:25:00 +0000 (11:25 +0100)
commit30270bf042049bf6aee6184e0b7688d9ca7b479d
tree7c00ade8899e6669645ecb9b81494a4d9e9183a7
parent798bdfa0ebcf2bd012ffce75a594f783a8cb2dd0
tree-optimization/97886 - deal with strange LC PHI nodes

This makes vectorization properly assign vector types to PHI
nodes that copy from externals on loop exit edges.

2020-11-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97886
* tree-vect-loop.c (vectorizable_lc_phi): Properly assign
vector types to invariants for SLP.
gcc/tree-vect-loop.c