[PATCH] D14234: [ARM] Recognize bit-reversal idioms
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 2 12:42:59 PST 2015
On 11/02/2015 12:35 PM, James Molloy wrote:
> OK, then I have a better idea: let's do it in instcombine.
>
> Instcombine already does stuff like this for byteswaps - it should be
> possible to make it cover this case too. Instcombine is also a better
> place to cover the bittwiddling hacks Joerg mentioned. I only
> discounted it originally because I felt this was too ARM specific to
> plumb right the way through the midend.
>
> Does this sound alright?
Yes, this sounds better
More information about the llvm-commits
mailing list