tree-optimization/95356 - fix vectorizable_shift vector types
authorRichard Biener <rguenther@suse.de>
Wed, 27 May 2020 09:42:35 +0000 (11:42 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 27 May 2020 12:14:11 +0000 (14:14 +0200)
commit764ef40ba185ef9245a209ba9260d1e50bec6934
treecc6a9d6b486f9a3b38d6aa4dcaa3ea29becca530
parenta5d8d86e8a72736bfd8a2ce8aa427dec896a442e
tree-optimization/95356 - fix vectorizable_shift vector types

This makes sure to always use the same vector type for the shift
operand as for the shifted operand.

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

PR tree-optimization/95356
* tree-vect-stmts.c (vectorizable_shift): Adjust vector
type for the shift operand.
gcc/tree-vect-stmts.c