[all-commits] [llvm/llvm-project] 50511d: [AArch64] Lower bitreverse in ISel

Irina Dobrescu via All-commits all-commits at lists.llvm.org
Mon May 17 05:41:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50511df32edf53238b75b0e9767120dc772dbf14
      https://github.com/llvm/llvm-project/commit/50511df32edf53238b75b0e9767120dc772dbf14
  Author: Irina Dobrescu <irina.dobrescu at arm.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/aarch64-neon-misc.c
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/CodeGen/AArch64/arm64-vbitwise.ll
    M llvm/test/CodeGen/AArch64/bitreverse.ll
    A llvm/test/CodeGen/AArch64/neon_rbit.ll

  Log Message:
  -----------
  [AArch64] Lower bitreverse in ISel

Adding lowering support for bitreverse.

Previously, lowering bitreverse would expand it into a series of other instructions. This patch makes it so this produces a single rbit instruction instead.

Reviewed By: dmgreen

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




More information about the All-commits mailing list