tree-optimization/97709 - set abnormal flag when vectorizing live lanes
authorRichard Biener <rguenther@suse.de>
Wed, 4 Nov 2020 10:20:17 +0000 (11:20 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 4 Nov 2020 11:41:14 +0000 (12:41 +0100)
commit1e9f339d946b8296e3785bec77e03d71b487d689
treec32fb9049dc664ee82ba8ee144996f8d6bcf05d2
parent3e190757fa332d327bee27495f37beb01155cfab
tree-optimization/97709 - set abnormal flag when vectorizing live lanes

This properly sets the abnormal flag when vectorizing live lanes
when the original scalar was live across an abnormal edge.

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

PR tree-optimization/97709
* tree-vect-loop.c (vectorizable_live_operation): Set
SSA_NAME_OCCURS_IN_ABNORMAL_PHI when necessary.

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