summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-analyze.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-04-11 07:31:21 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-04-11 07:31:21 +0000
commit57d1677d8dc591fd3635fadb06a83753d65f23c1 (patch)
tree4f3b197ee7f339b7b2f7242df079110dd8516cf7 /gcc/tree-vect-analyze.c
parentf94b16611c30340d61468354814e63916bd08303 (diff)
downloadgcc-57d1677d8dc591fd3635fadb06a83753d65f23c1.tar.gz
tree-vect-analyze (vect_determine_vectorization_factor): Do not use GET_MODE_NUNITS.
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. From-SVN: r97965
Diffstat (limited to 'gcc/tree-vect-analyze.c')
-rw-r--r--gcc/tree-vect-analyze.c2
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);