tree-vect-slp.c (vect_get_and_check_slp_defs): Only fail swapping if we actually...
authorRichard Biener <rguenther@suse.de>
Fri, 25 Oct 2019 12:25:52 +0000 (12:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 Oct 2019 12:25:52 +0000 (12:25 +0000)
commit77100812a3bf4c693cb24c65be54ea367f17a246
treec408c3a88e80fd881b0f49b0c5455e9d91384d86
parentbafe6f6a45e804efbf801ab2a8b4065934d11078
tree-vect-slp.c (vect_get_and_check_slp_defs): Only fail swapping if we actually have to modify the IL on a shared stmt.

2019-10-25  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_get_and_check_slp_defs): Only fail
swapping if we actually have to modify the IL on a shared stmt.
(vect_build_slp_tree_2): Never fail swapping on shared stmts
because we no longer modify the IL.

From-SVN: r277446
gcc/ChangeLog
gcc/tree-vect-slp.c