diff options
author | Richard Biener <rguenther@suse.de> | 2013-04-10 10:40:33 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2013-04-10 10:40:33 +0000 |
commit | 793d9a16a2f863af4552edf27d846a1a71815b9c (patch) | |
tree | baa1624b3c689a0c7c65d0aca659aa1d6db8f3b2 /gcc/tree-vectorizer.h | |
parent | ee8a9b7b507013b0431cabd314a245461c3b86b9 (diff) | |
download | gcc-793d9a16a2f863af4552edf27d846a1a71815b9c.zip gcc-793d9a16a2f863af4552edf27d846a1a71815b9c.tar.gz gcc-793d9a16a2f863af4552edf27d846a1a71815b9c.tar.bz2 |
tree-vectorizer.h (struct _slp_oprnd_info): Remove first_const_oprnd field, rename first_def_type to first_op_type.
2013-04-10 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (struct _slp_oprnd_info): Remove
first_const_oprnd field, rename first_def_type to first_op_type.
* tree-vect-slp.c (vect_create_oprnd_info): Adjust.
(vect_get_and_check_slp_defs): Always use the type of the
operand. Allow mixed vect_external_def, vect_constant_def types.
(vect_get_constant_vectors): Handle mixed vect_external_def,
vect_constant_def types.
* gcc.dg/vect/slp-39.c: New testcase.
From-SVN: r197669
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r-- | gcc/tree-vectorizer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 1a233a0..0f1a02a 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -169,8 +169,7 @@ typedef struct _slp_oprnd_info operand itself in case it's constant, and an indication if it's a pattern stmt. */ enum vect_def_type first_dt; - tree first_def_type; - tree first_const_oprnd; + tree first_op_type; bool first_pattern; } *slp_oprnd_info; |