Handle SLP_TREE_LANE_PERMUTATION in scalar costing
authorRichard Biener <rguenther@suse.de>
Mon, 20 Apr 2020 08:05:06 +0000 (10:05 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 19 Jun 2020 14:43:36 +0000 (16:43 +0200)
commit6d8b2ee568bd17a398781d86aab140b8121aad30
treecc2cd849f11d0328704cfc72fb8e3686442bfe3c
parenta7a3932e4b698f205273cfa78c7aa8ab6840542a
Handle SLP_TREE_LANE_PERMUTATION in scalar costing

This properly handles a lane permutation in scalar costing.
For the current only use this doesn't matter much but with
permutes that change the number of lanes it will eventually
ICE.

2020-06-19  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_bb_slp_scalar_cost): Adjust
for lane permutations.
gcc/tree-vect-slp.c