tree-vect-stmts.c (vectorizable_mask_load_store): Check mask vectype.
gcc/ * tree-vect-stmts.c (vectorizable_mask_load_store): Check mask vectype. From-SVN: r231554
This commit is contained in:
parent
da33235f37
commit
56e398205a
|
@ -1,3 +1,8 @@
|
|||
2015-12-11 Ilya Enkovich <enkovich.gnu@gmail.com>
|
||||
|
||||
* tree-vect-stmts.c (vectorizable_mask_load_store): Check
|
||||
mask vectype.
|
||||
|
||||
2015-12-11 Ilya Enkovich <enkovich.gnu@gmail.com>
|
||||
|
||||
* config/i386/i386.c (ix86_get_mask_mode): Use scalar
|
||||
|
|
|
@ -1780,7 +1780,7 @@ vectorizable_mask_load_store (gimple *stmt, gimple_stmt_iterator *gsi,
|
|||
if (!mask_vectype)
|
||||
mask_vectype = get_mask_type_for_scalar_type (TREE_TYPE (vectype));
|
||||
|
||||
if (!mask_vectype)
|
||||
if (!mask_vectype || !VECTOR_BOOLEAN_TYPE_P (mask_vectype))
|
||||
return false;
|
||||
|
||||
if (is_store)
|
||||
|
|
Loading…
Reference in New Issue