Commit 4a73490d by Nathan Froyd Committed by Nathan Froyd

tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of build1_stat.

	* tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
	build1_stat.

From-SVN: r159995
parent 86561bb6
2010-05-28 Nathan Froyd <froydnj@codesourcery.com>
* tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of
build1_stat.
2010-05-28 Richard Guenther <rguenther@suse.de> 2010-05-28 Richard Guenther <rguenther@suse.de>
PR lto/44312 PR lto/44312
......
...@@ -1918,7 +1918,7 @@ vectorizable_assignment (gimple stmt, gimple_stmt_iterator *gsi, ...@@ -1918,7 +1918,7 @@ vectorizable_assignment (gimple stmt, gimple_stmt_iterator *gsi,
for (i = 0; VEC_iterate (tree, vec_oprnds, i, vop); i++) for (i = 0; VEC_iterate (tree, vec_oprnds, i, vop); i++)
{ {
if (CONVERT_EXPR_CODE_P (code)) if (CONVERT_EXPR_CODE_P (code))
vop = build1_stat (VIEW_CONVERT_EXPR, vectype, vop); vop = build1 (VIEW_CONVERT_EXPR, vectype, vop);
new_stmt = gimple_build_assign (vec_dest, vop); new_stmt = gimple_build_assign (vec_dest, vop);
new_temp = make_ssa_name (vec_dest, new_stmt); new_temp = make_ssa_name (vec_dest, new_stmt);
gimple_assign_set_lhs (new_stmt, new_temp); gimple_assign_set_lhs (new_stmt, new_temp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment