https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84037
--- Comment #28 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Mon Feb 12 08:54:28 2018 New Revision: 257581 URL: https://gcc.gnu.org/viewcvs?rev=257581&root=gcc&view=rev Log: 2018-02-12 Richard Biener <rguent...@suse.de> PR tree-optimization/84037 * tree-vect-slp.c (vect_build_slp_tree_2): Try swapping the matched stmts if we cannot swap the non-matched ones. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-slp.c