https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > s390_valid_shift_count does not seem to check that %r0 was valid here. I should expand on that, it seems to allow any register. I think it should allow only pesudo registers or the valid registers, 1-15.