tree-vect-slp.c (vect_slp_analyze_node_operations): Only analyze the first scalar...
authorRichard Biener <rguenther@suse.de>
Fri, 30 Jun 2017 13:19:29 +0000 (13:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 30 Jun 2017 13:19:29 +0000 (13:19 +0000)
commitbd2f172f0b67c88ad3dd6126e8ee6fd4e87b6787
tree2ab8327e8cb49ed1817c71232164c08f1b01082a
parent3b5c768c40c78618962f2d6e86c9c7affdf86eb8
tree-vect-slp.c (vect_slp_analyze_node_operations): Only analyze the first scalar stmt.

2017-06-30  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_slp_analyze_node_operations): Only
analyze the first scalar stmt.  Move vector type computation
for the BB case here from ...
* tree-vect-stmts.c (vect_analyze_stmt): ... here.  Guard
live operation processing in the SLP case properly.

From-SVN: r249839
gcc/ChangeLog
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c