tree-vect-patterns.c (vect_pattern_recog_1): Use VECTOR_TYPE_P instead of VECTOR_MODE...
authorJon Beniston <jon@beniston.com>
Wed, 30 Aug 2017 16:16:37 +0000 (16:16 +0000)
committerJon Beniston <jbeniston@gcc.gnu.org>
Wed, 30 Aug 2017 16:16:37 +0000 (16:16 +0000)
commit4c8fd8ac5bdee9b76d41e78d63908129122a51d5
tree66cf7498e23df9bbe38059c34d367a0c251e9d84
parent33845ca96bdaa9510cfb041540a45c3e8be6c477
tree-vect-patterns.c (vect_pattern_recog_1): Use VECTOR_TYPE_P instead of VECTOR_MODE_P check.

* tree-vect-patterns.c (vect_pattern_recog_1): Use VECTOR_TYPE_P instead
of VECTOR_MODE_P check.
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Allow single
element vector types.

Co-Authored-By: Richard Biener <rguenther@suse.de>
From-SVN: r251538
gcc/ChangeLog
gcc/tree-vect-patterns.c
gcc/tree-vect-stmts.c