Pass a vec_info to get_mask_type_for_scalar_type
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 21 Oct 2019 06:40:49 +0000 (06:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 21 Oct 2019 06:40:49 +0000 (06:40 +0000)
commit1bd5196c9b1a0cd7280adadd6d788f81a82ca023
tree48322b56cd2e416fb1a56e8b08f1b5e849e95925
parentdcab2a0d1d4b2c0b4bba6f5e3834ec0678a2a5c8
Pass a vec_info to get_mask_type_for_scalar_type

2019-10-21  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vectorizer.h (get_mask_type_for_scalar_type): Take a vec_info.
* tree-vect-stmts.c (get_mask_type_for_scalar_type): Likewise.
(vect_check_load_store_mask): Update call accordingly.
(vect_get_mask_type_for_stmt): Likewise.
* tree-vect-patterns.c (check_bool_pattern): Likewise.
(search_type_for_mask_1, vect_recog_mask_conversion_pattern): Likewise.
(vect_convert_mask_for_vectype): Likewise.

From-SVN: r277226
gcc/ChangeLog
gcc/tree-vect-patterns.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h