tree-optimization/95327 - fix another vectorizable_shift const SLP op
authorRichard Biener <rguenther@suse.de>
Tue, 26 May 2020 07:47:26 +0000 (09:47 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 26 May 2020 13:58:32 +0000 (15:58 +0200)
commit1d72079ba3a370d6751953312f0de76d1a1c555d
tree2b961c24057859b5d4e3404ac732aa6fca740c98
parent9b8579a6b3664d202db23af60a2ab6cc1f9eb5ae
tree-optimization/95327 - fix another vectorizable_shift const SLP op

This fixes another case where we fail to set the type on a SLP
constant operand in vectorizable_shift.

2020-05-26  Richard Biener  <rguenther@suse.de>

PR tree-optimization/95327
* tree-vect-stmts.c (vectorizable_shift): Compute op1_vectype
when we are not using a scalar shift.
gcc/tree-vect-stmts.c