https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114518
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 60704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60704&action=edit This fixes the issue The only issue is it turns back on late combine^wforwprop which exposes the broken define_insn_and_splits. This fixes the issue adding ashiftrt support to rotate_mask_operator and the related functions there. Attaching to this bug report for someone else to take over. Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>