Commit f800c166 by Richard Biener Committed by Richard Biener

re PR tree-optimization/57478 (ice in vec.h:815)

2013-05-31  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/57478
	PR tree-optimization/57453
	* tree-vect-slp.c (vect_bb_slp_scalar_cost): Uses in PHI nodes
	are life as well.

From-SVN: r199476
parent e7333b69
2013-05-31 Richard Biener <rguenther@suse.de>
PR tree-optimization/57478
PR tree-optimization/57453
* tree-vect-slp.c (vect_bb_slp_scalar_cost): Uses in PHI nodes
are life as well.
2013-05-31 Kaushik Phatak <kaushik.phatak@kpitcummins.com> 2013-05-31 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
* config/rl78/rl78.md (mulqi3,mulhi3): New define_expands. * config/rl78/rl78.md (mulqi3,mulhi3): New define_expands.
......
...@@ -1932,7 +1932,8 @@ vect_bb_slp_scalar_cost (basic_block bb, ...@@ -1932,7 +1932,8 @@ vect_bb_slp_scalar_cost (basic_block bb,
imm_use_iterator use_iter; imm_use_iterator use_iter;
gimple use_stmt; gimple use_stmt;
FOR_EACH_IMM_USE_STMT (use_stmt, use_iter, DEF_FROM_PTR (def_p)) FOR_EACH_IMM_USE_STMT (use_stmt, use_iter, DEF_FROM_PTR (def_p))
if (gimple_bb (use_stmt) != bb if (gimple_code (use_stmt) == GIMPLE_PHI
|| gimple_bb (use_stmt) != bb
|| !STMT_VINFO_VECTORIZABLE (vinfo_for_stmt (use_stmt))) || !STMT_VINFO_VECTORIZABLE (vinfo_for_stmt (use_stmt)))
{ {
life[i] = true; life[i] = true;
......
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