mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-02 05:50:26 +08:00
tree-vect-transform.c (vectorizable_store): Use the rhs vector type for alias check.
* tree-vect-transform.c (vectorizable_store): Use the rhs vector type for alias check. From-SVN: r140257
This commit is contained in:
parent
2c542cbd1d
commit
5993860d25
@ -1,3 +1,8 @@
|
||||
2008-09-11 Ira Rosen <irar@il.ibm.com>
|
||||
|
||||
* tree-vect-transform.c (vectorizable_store): Use the rhs vector type
|
||||
for alias check.
|
||||
|
||||
2008-09-10 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/37338
|
||||
|
@ -5180,6 +5180,9 @@ vectorizable_store (gimple stmt, gimple_stmt_iterator *gsi, gimple *vec_stmt,
|
||||
return false;
|
||||
}
|
||||
|
||||
/* The type of the vector store is determined by the rhs. */
|
||||
vectype = get_vectype_for_scalar_type (TREE_TYPE (op));
|
||||
|
||||
/* If accesses through a pointer to vectype do not alias the original
|
||||
memory reference we have a problem. */
|
||||
if (get_alias_set (vectype) != get_alias_set (TREE_TYPE (scalar_dest))
|
||||
|
Loading…
x
Reference in New Issue
Block a user