https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126199
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Keywords| |missed-optimization
Last reconfirmed| |2026-07-10
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
There's also association coming into play. I wonder if it makes more sense to
keep the shift insns together (allow all constants) and instead lower/split
them with a LCM algorithm that can maximize re-use and optimize code placement
(at the expense of register use - not sure how bad that is).