diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-11 07:31:21 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-11 07:31:21 +0000 |
commit | 9ca8d40949d5e0a2b099fcb01caf59004be4c0fc (patch) | |
tree | 4f3b197ee7f339b7b2f7242df079110dd8516cf7 /gcc/tree-vect-analyze.c | |
parent | ac14875119315347b004b4b1a55fa4f7915396a2 (diff) | |
download | gcc-9ca8d40949d5e0a2b099fcb01caf59004be4c0fc.tar.gz |
2005-04-11 Paolo Bonzini <bonzini@gnu.org>
* tree-vect-analyze (vect_determine_vectorization_factor):
Do not use GET_MODE_NUNITS.
* tree-vect-transform.c (vect_get_vec_def_for_operand,
(vectorizable_load, vect_transform_loop): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97965 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-analyze.c')
-rw-r--r-- | gcc/tree-vect-analyze.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index 3c55fd4712d..be6d81c7e96 100644 --- a/gcc/tree-vect-analyze.c +++ b/gcc/tree-vect-analyze.c @@ -390,7 +390,7 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) } STMT_VINFO_VECTYPE (stmt_info) = vectype; - nunits = GET_MODE_NUNITS (TYPE_MODE (vectype)); + nunits = TYPE_VECTOR_SUBPARTS (vectype); if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC)) fprintf (vect_dump, "nunits = %d", nunits); |