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

--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, guess for vectorization there is more work to do in the vectorizer and
introduce an IFN for it.
Anyway, I think we don't want to duplicate the QI/HI/double-word handling for
arm, nvptx, loongarch, cris, maybe riscv, so handling it in generic code is
better and I think we can just rename/tweak widen_bswap and
expand_doubleword_bswap to handle both bswap and bitreverse by passing optab
argument to those.

Reply via email to