tree-vectorizer.c (vect_gen_niters_for_prolog_loop): Use tree_low_cst instead of TREE_INT_CST_LOW.

* tree-vectorizer.c (vect_gen_niters_for_prolog_loop): Use
	tree_low_cst instead of TREE_INT_CST_LOW.

From-SVN: r91518
This commit is contained in:
Dorit Naishlos 2004-11-30 13:24:16 +00:00 committed by Dorit Nuzman
parent d75bf0cab4
commit 37ea4e6756
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-11-30 Dorit Naishlos <dorit@il.ibm.com>
* tree-vectorizer.c (vect_gen_niters_for_prolog_loop): Use
tree_low_cst instead of TREE_INT_CST_LOW.
2004-11-30 Dorit Naishlos <dorit@il.ibm.com>
PR tree-opt/18173

View File

@ -3058,7 +3058,7 @@ vect_gen_niters_for_prolog_loop (loop_vec_info loop_vinfo, tree loop_niters)
vect_create_addr_base_for_vector_ref (dr_stmt, &new_stmts, NULL_TREE);
tree ptr_type = TREE_TYPE (start_addr);
tree size = TYPE_SIZE (ptr_type);
tree type = lang_hooks.types.type_for_size (TREE_INT_CST_LOW (size), 1);
tree type = lang_hooks.types.type_for_size (tree_low_cst (size, 1), 1);
tree vectype_size_minus_1 = build_int_cst (type, vectype_align - 1);
tree vf_minus_1 = build_int_cst (unsigned_type_node, vf - 1);
tree niters_type = TREE_TYPE (loop_niters);