Fix SLP permute propagation error
authorRichard Biener <rguenther@suse.de>
Thu, 24 Jun 2021 08:47:18 +0000 (10:47 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 24 Jun 2021 09:42:09 +0000 (11:42 +0200)
commit82ab14927651e0eaf0f6d6964396048bb5471f23
treeeadf872f28e67d1f9a94d278a8d922e6246fe3c2
parent7619d33471c10fe3d149dcbb701d99ed3dd23528
Fix SLP permute propagation error

This fixes SLP permute propagation to not propagate across operations
that have different semantics on different lanes like for example
the recently added COMPLEX_ADD_ROT90.

2021-06-24  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_optimize_slp): Do not propagate
across operations that have different semantics on different
lanes.
gcc/tree-vect-slp.c