[llvm-dev] [RFC] Adding a cls intrinsic for AArch64

Davide Italiano via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 28 13:37:29 PDT 2017

On Thu, Sep 28, 2017 at 1:35 PM, Davide Italiano <davide at freebsd.org> wrote:
> I'm not entirely sure whether this is worth an RFC, but, just in case.
> On bugzilla Eli pointed out we currently match a specific sequence of
> instructions to cls (
> https://reviews.llvm.org/rL206079), and given how fragile this is, it
> could be better to just introduce an intrinsic for it (and presumably,
> teach peephole optimizations to lower a sequence to that intrinsic).
> I wonder what folks are OK with the new intrinsic.

I wonder *if*, sigh.

More information about the llvm-dev mailing list