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:
parent
d75bf0cab4
commit
37ea4e6756
|
@ -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>
|
2004-11-30 Dorit Naishlos <dorit@il.ibm.com>
|
||||||
|
|
||||||
PR tree-opt/18173
|
PR tree-opt/18173
|
||||||
|
|
|
@ -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);
|
vect_create_addr_base_for_vector_ref (dr_stmt, &new_stmts, NULL_TREE);
|
||||||
tree ptr_type = TREE_TYPE (start_addr);
|
tree ptr_type = TREE_TYPE (start_addr);
|
||||||
tree size = TYPE_SIZE (ptr_type);
|
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 vectype_size_minus_1 = build_int_cst (type, vectype_align - 1);
|
||||||
tree vf_minus_1 = build_int_cst (unsigned_type_node, vf - 1);
|
tree vf_minus_1 = build_int_cst (unsigned_type_node, vf - 1);
|
||||||
tree niters_type = TREE_TYPE (loop_niters);
|
tree niters_type = TREE_TYPE (loop_niters);
|
||||||
|
|
Loading…
Reference in New Issue