re PR tree-optimization/87800 (CPU2006 416.gamess failed to build with LTO)

2018-10-30  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/87800
	* tree-vect-slp.c (vect_build_slp_tree_2): Reject any
	non-induction or reduction PHIs.

From-SVN: r265619
This commit is contained in:
Richard Biener 2018-10-30 11:27:32 +00:00 committed by Richard Biener
parent 8393382954
commit 22e4f1fb6c
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,12 @@
2018-10-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/87800
* tree-vect-slp.c (vect_build_slp_tree_2): Reject any
non-induction or reduction PHIs.
2018-10-30 Sameera Deshpande <sameera.deshpande@linaro.org
* gcc/config/aarch64/falkor-tag-collision-avoidance.c
* config/aarch64/falkor-tag-collision-avoidance.c
(execute_tag_collision_avoidance): Call df_note_add_problem.
2018-10-30 Martin Liska <mliska@suse.cz>

View File

@ -1116,7 +1116,9 @@ vect_build_slp_tree_2 (vec_info *vinfo,
if (stmt_info != other_info)
return NULL;
}
else
else if (def_type == vect_reduction_def
|| def_type == vect_double_reduction_def
|| def_type == vect_nested_cycle)
{
/* Else def types have to match. */
stmt_vec_info other_info;
@ -1130,6 +1132,8 @@ vect_build_slp_tree_2 (vec_info *vinfo,
return NULL;
}
}
else
return NULL;
node = vect_create_new_slp_node (stmts);
return node;
}