2013-05-29 Richard Biener <rguenther@suse.de>
commit65526f7fc603209fa8da7146797c95f2dcfbc687
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 May 2013 08:44:23 +0000 (29 08:44 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 May 2013 08:44:23 +0000 (29 08:44 +0000)
tree6f27c740d3aeef4b16f93bcf7697c9dc722abeba
parent32afb7481b917202765a05af5d89eb6e59bb95be
2013-05-29  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_bb_slp_scalar_cost): Guard vinfo
access on whether the use is in the BB we currently try to
vectorize.
(vect_bb_vectorization_profitable_p): Pass the BB we currently
vectorize to vect_bb_slp_scalar_cost.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199403 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-slp.c