refactor SLP permute propagation
authorRichard Biener <rguenther@suse.de>
Wed, 23 Jun 2021 13:17:07 +0000 (15:17 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 24 Jun 2021 07:07:06 +0000 (09:07 +0200)
commit7dcf139a2b8e1c53096ee2593cfdd706d5d358a8
tree9a8f7c1207e112215c420dbf46b4b36a378d8466
parent50374fdacbd121bc4a61b073e559208ff61bee06
refactor SLP permute propagation

This refactors SLP permute propagation to record the outgoing permute
separately from the incoming/materialized one.  Instead of separate
arrays/bitmaps I've now created a struct to represent the state.

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

* tree-vect-slp.c (slpg_vertex): New struct.
(vect_slp_build_vertices): Adjust.
(vect_optimize_slp): Likewise.  Maintain an outgoing permute
and a materialized one.
gcc/tree-vect-slp.c