[PATCH] D93606: [SVE] Lower vector BITREVERSE and BSWAP operations.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 20 17:04:50 PST 2020


paulwalker-arm created this revision.
Herald added subscribers: NickHung, psnobl, hiraditya, tschuett.
Herald added a reviewer: efriedma.
paulwalker-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

These operations are lowered to RBIT and REVB instructions
respectively.  In the case of fixed-length support using SVE we
also lower BITREVERSE operating on NEON sized vectors as this
results in fewer instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93606

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-fixed-length-rev.ll
  llvm/test/CodeGen/AArch64/sve-intrinsics-reversal.ll
  llvm/test/CodeGen/AArch64/sve-rev.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93606.313005.patch
Type: text/x-patch
Size: 39313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201221/98e06652/attachment.bin>


More information about the llvm-commits mailing list