[all-commits] [llvm/llvm-project] 8eec72: [SVE] Lower vector BITREVERSE and BSWAP operations.

paulwalker-arm via All-commits all-commits at lists.llvm.org
Tue Dec 22 08:51:28 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8eec7294fea87273215592a2dc5bee6afd47d456
      https://github.com/llvm/llvm-project/commit/8eec7294fea87273215592a2dc5bee6afd47d456
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2020-12-22 (Tue, 22 Dec 2020)

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

  Log Message:
  -----------
  [SVE] Lower vector BITREVERSE and BSWAP operations.

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.

Differential Revision: https://reviews.llvm.org/D93606




More information about the All-commits mailing list