tree-vect-slp.c (vect_bb_slp_scalar_cost): Properly confine life to the active subtree.
authorRichard Biener <rguenther@suse.de>
Tue, 29 Aug 2017 07:04:31 +0000 (07:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 29 Aug 2017 07:04:31 +0000 (07:04 +0000)
commitfaa5399be693b2cdea641b976156f0fc89fa10cf
treead4a07ebbfb2bc4da545181403d9ab5c42c451d6
parent14d6281388bad11de8c328be7ea825b184fc7efe
tree-vect-slp.c (vect_bb_slp_scalar_cost): Properly confine life to the active subtree.

2017-08-29  Richard Biener  <rguenther@suse.de>
Dominik Infuehr <dominik.infuehr@theobroma-systems.com>

* tree-vect-slp.c (vect_bb_slp_scalar_cost): Properly confine
life to the active subtree.

* gcc.dg/vect/costmodel/x86_64/costmodel-vect-slp.c: New testcase.

Co-Authored-By: Dominik Infuehr <dominik.infuehr@theobroma-systems.com>
From-SVN: r251398
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-slp.c [new file with mode: 0644]
gcc/tree-vect-slp.c