Commit de482e91 by Eric Botcazou Committed by Eric Botcazou

tree-vect-loop.c (vect_determine_vectorization_factor): Also compute the factor for live Phi nodes.

	* tree-vect-loop.c (vect_determine_vectorization_factor): Also compute
	the factor for live Phi nodes.

From-SVN: r236999
parent ae7a7472
2016-06-01 Eric Botcazou <ebotcazou@adacore.com>
* tree-vect-loop.c (vect_determine_vectorization_factor): Also compute
the factor for live Phi nodes.
2016-06-01 Jan Hubicka <hubicka@ucw.cz>
* loop-dolop.c (doloop_optimize): Us likely max iteration bound.
......
......@@ -216,7 +216,8 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo)
gcc_assert (stmt_info);
if (STMT_VINFO_RELEVANT_P (stmt_info))
if (STMT_VINFO_RELEVANT_P (stmt_info)
|| STMT_VINFO_LIVE_P (stmt_info))
{
gcc_assert (!STMT_VINFO_VECTYPE (stmt_info));
scalar_type = TREE_TYPE (PHI_RESULT (phi));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment