https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70308

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #6)
> Hmm, indeed.  Of course there is no way to iterate from largest to narrowest
> mode...

Well, you could just iterate from narrowest to largest, but instead of doing
maybe_expand_insn do maybe_gen_insn and simply continue looking even when we
have some sequence, just override it with later sequences if any further one is
successful.

Reply via email to