2011-08-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50162
* tree-vect-stmts.c (vectorizable_call): Fix argument lookup.
From-SVN: r177984
+2011-08-23 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/50162
+ * tree-vect-stmts.c (vectorizable_call): Fix argument lookup.
+
2011-08-23 Richard Guenther <rguenther@suse.de>
* tree-data-ref.c (dr_analyze_indices): Add comments, handle
}
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