2012-01-03 Richard Guenther <rguenther@suse.de>
Backport from mainline
2011-08-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50162
* tree-vect-stmts.c (vectorizable_call): Fix argument lookup.
From-SVN: r182843
+2012-01-03 Richard Guenther <rguenther@suse.de>
+
+ Backport from mainline
+ 2011-08-23 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/50162
+ * tree-vect-stmts.c (vectorizable_call): Fix argument lookup.
+
2012-01-03 Richard Guenther <rguenther@suse.de>
Backport from mainline
}
else
{
- vec_oprnd1 = gimple_call_arg (new_stmt, 2*i);
+ vec_oprnd1 = gimple_call_arg (new_stmt, 2*i + 1);
vec_oprnd0
= vect_get_vec_def_for_stmt_copy (dt[i], vec_oprnd1);
vec_oprnd1