This series is a follow-up from the RFC that I posted a while back about optimising the placement of SLP permutations. The main comment is in the final patch.
Tested on aarch64-linux-gnu and x86_64-linux-gnu. If the series is OK, I'll test on powerpc64le-linux-gnu too before committing. Richard