[all-commits] [llvm/llvm-project] 054faa: [AArch64][SME] Add SVE2 psel, uclamp, sclamp and r...

david-arm via All-commits all-commits at lists.llvm.org
Tue Jun 28 02:28:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 054faac9f95e8d93a4e0a088f69be7f72f71a469
      https://github.com/llvm/llvm-project/commit/054faac9f95e8d93a4e0a088f69be7f72f71a469
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    A llvm/test/CodeGen/AArch64/sve2-intrinsics-psel.ll
    A llvm/test/CodeGen/AArch64/sve2-intrinsics-revd.ll
    A llvm/test/CodeGen/AArch64/sve2-intrinsics-sclamp.ll
    A llvm/test/CodeGen/AArch64/sve2-intrinsics-uclamp.ll

  Log Message:
  -----------
  [AArch64][SME] Add SVE2 psel, uclamp, sclamp and revd IR intrinsics

When the SME feature is enabled we also gain access to a few extra
SVE2 instructions. This patch adds LLVM IR intrinsics to make use
of these new instructions:

  @llvm.aarch64.sve.psel
  @llvm.aarch64.sve.revd
  @llvm.aarch64.sve.sclamp
  @llvm.aarch64.sve.uclamp

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




More information about the All-commits mailing list