2014-10-20 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Oct 2014 12:28:10 +0000 (12:28 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Oct 2014 12:28:10 +0000 (12:28 +0000)
commit291e6474544a28996528ff77ac460e8831633a8b
tree71ddd6771f6fa6e29825bf13781fe14ae32c60de
parentd1fc3a78d5ff9bdad1ea4a30a9ebe8ab3fc6f808
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216463 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-slp.c