tree-vect-stmts.c (vect_get_vec_def_for_operand): Use VIEW_CONVERT_EXPR to convert...
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Mar 2012 13:20:55 +0000 (13:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Mar 2012 13:20:55 +0000 (13:20 +0000)
commitb758f602501612172068807bbc79e65c0827ab57
tree42d98432fb00efdabe0ccbb26862361ee4e28f6a
parentcf1867a027259b46b63abed5f6e34b479d52f186
tree-vect-stmts.c (vect_get_vec_def_for_operand): Use VIEW_CONVERT_EXPR to convert constants.

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

* tree-vect-stmts.c (vect_get_vec_def_for_operand): Use
VIEW_CONVERT_EXPR to convert constants.
(vect_is_simple_use): Treat all constants as vec_constant_def.

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