tree-vect-slp.c (vect_get_and_check_slp_defs): Try swapping operands to get a def...
authorRichard Biener <rguenther@suse.de>
Mon, 20 Oct 2014 12:28:10 +0000 (12:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 20 Oct 2014 12:28:10 +0000 (12:28 +0000)
commitb0b4483eef86460ae7497e39a3dc92030d1820a2
tree71ddd6771f6fa6e29825bf13781fe14ae32c60de
parentc11c86648896159fd96cd276a33ddbaa4e777cca
tree-vect-slp.c (vect_get_and_check_slp_defs): Try swapping operands to get a def operand kind match.

2014-10-20  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_get_and_check_slp_defs): Try swapping
operands to get a def operand kind match.  Signal mismatches
to the parent so we can try swapping its operands.
(vect_build_slp_tree): Try swapping operands if they have
a mismatched operand kind.

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