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
+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>
* config/rl78/rl78.md (mulqi3,mulhi3): New define_expands.
imm_use_iterator use_iter;
gimple use_stmt;
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)))
{
life[i] = true;