More vect_get_and_check_slp_defs refactoring
authorRichard Biener <rguenther@suse.de>
Wed, 14 Oct 2020 13:04:24 +0000 (15:04 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 14 Oct 2020 14:27:03 +0000 (16:27 +0200)
commitea9535e75e9118493879cb76520c85272981ebda
treef8c6ab3a5c4b6672db5a373cacd8083dc2e9a0ed
parentc602426cc72a5ac89efac61a195ee38358688c1d
More vect_get_and_check_slp_defs refactoring

This is another tiny piece in some bigger refactoring of
vect_get_and_check_slp_defs.  Split out a test that has nothing
to do with def types or commutation.

2020-10-14  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_get_and_check_slp_defs): Split out
test for compatible operand types.
gcc/tree-vect-slp.c