https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65951
--- Comment #5 from alalaw01 at gcc dot gnu.org --- I believe the definitive algorithm for converting multiply-by-constant into adds+shifts(+etc.) lives in expmed.c. I don't at present have a plan for how to reuse that, but if we could do so _in_some_form_ then that would be the ideal??