This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Implement reversal intrinsics
ClosedPublic

Authored by c-rhodes on Dec 3 2019, 6:01 AM.

Details

Summary

Adds intrinsics for the following:

  • rbit
  • revb
  • revh
  • revw

Patterns are also defined to map the 'llvm.bswap.*' intrinsic to the SVE
revb instruction.

Diff Detail

Event Timeline

c-rhodes created this revision.Dec 3 2019, 6:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2019, 6:01 AM
sdesmalen accepted this revision.Dec 3 2019, 7:26 AM

LGTM, thanks @c-rhodes!

This revision is now accepted and ready to land.Dec 3 2019, 7:26 AM
This revision was automatically updated to reflect the committed changes.