tree-optimization/94261 - avoid IL adjustments in SLP analysis
authorRichard Biener <rguenther@suse.de>
Mon, 23 Mar 2020 12:08:41 +0000 (13:08 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 23 Mar 2020 15:48:37 +0000 (16:48 +0100)
commit4dcc4502f316a7320fe72b62c60af12c77e1c96c
treeac934b4b1573123d232d5d00c0b00f19b30c5ebb
parentb0d84ecc55f3ea86764b119040c5ffde36cd0524
tree-optimization/94261 - avoid IL adjustments in SLP analysis

The remaining IL adjustment done by SLP analysis turns out harmful
since we share them in the now multiple analyses states.  It turns
out we do not actually need those apart from the case where we
reorg scalar stmts during re-arrangement when optimizing load
permutations in SLP reductions.  But that isn't needed either now
since we only need to permute non-isomorphic parts which now
reside in separate SLP nodes who are all leafs.

2020-03-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/94261
* tree-vect-slp.c (vect_get_and_check_slp_defs): Remove
IL operand swapping code.
(vect_slp_rearrange_stmts): Do not arrange isomorphic
nodes that would need operation code adjustments.
gcc/ChangeLog
gcc/tree-vect-slp.c