tree-vect-loop.c (get_initial_def_for_induction): Use build_constructor directly.
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Mar 2012 09:54:36 +0000 (09:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Mar 2012 09:54:36 +0000 (09:54 +0000)
commit50a763ab474ddf0f9c2d3649c5a89fdb511d8ca7
tree222248ef75fc9b6a3c7c0bfe3657c6acaef2e6b2
parent6a26a74d8e650ac559c6fc60d061a59b5f8a93bb
tree-vect-loop.c (get_initial_def_for_induction): Use build_constructor directly.

2012-03-16  Richard Guenther  <rguenther@suse.de>

* tree-vect-loop.c (get_initial_def_for_induction): Use
build_constructor directly.
* tree-vect-stmts.c (vect_get_vec_def_for_operand): Use
build_vector_from_val.
* tree.c (build_vector_from_val): Avoid creating a constructor
first when we want a constant vector.

From-SVN: r185461
gcc/ChangeLog
gcc/tree-vect-loop.c
gcc/tree-vect-stmts.c
gcc/tree.c