2015-11-26 Richard Biener <rguenther@suse.de>
commitdcf53ad6e9e3ca6e52b5447fe701978c942305c0
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2015 13:46:59 +0000 (26 13:46 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2015 13:46:59 +0000 (26 13:46 +0000)
treef056ba2282c0604f2f95257846f0c9ea1bb2a9b0
parent01e44ce8da1272572e034a644df92d8039d74080
2015-11-26  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66721
* tree-vect-loop.c (vect_analyze_loop_2): Compute scalar
iteration cost earlier.  Re-do analysis without SLP when
vectorization using SLP fails and without has a chance to succeed.

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