https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124019
--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> --- Seems like a sensible canonicalization. In fact that canonicalization would dramatically help targets without barrel shifters as well.
