tree-optimization/95916 - treat scalar ops explicitely
authorRichard Biener <rguenther@suse.de>
Mon, 29 Jun 2020 11:53:51 +0000 (13:53 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 29 Jun 2020 12:40:52 +0000 (14:40 +0200)
commit9a4a52e359ba16a2516a735dca838af512b19336
tree42b59546c5d5299ac508614e13bf09dbfc02af98
parent008842d741e5a88b8f46c692cf09e83d1f51252c
tree-optimization/95916 - treat scalar ops explicitely

This explicitely treats the case of scalar operands for SLP
when computing insert locations.

2020-06-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/95916
* tree-vect-slp.c (vect_schedule_slp_instance): Explicitely handle
the case of not vectorized externals.

* gcc.dg/vect/pr95916.c: New testcase.
gcc/testsuite/gcc.dg/vect/pr95916.c [new file with mode: 0644]
gcc/tree-vect-slp.c