https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92179
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Oct 23 10:29:36 2019 New Revision: 277310 URL: https://gcc.gnu.org/viewcvs?rev=277310&root=gcc&view=rev Log: 2019-10-23 Richard Biener <rguent...@suse.de> PR tree-optimization/92179 * tree-vect-stmts.c (vectorizable_shift): For shift args that are all the same remove type restriction in the SLP case. Adjust SLP code to handle converting of the shift arg to only apply in case the modes are different. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-stmts.c