[all-commits] [llvm/llvm-project] c5e9d5: [AArch64][SME2] Add the IR intrinsics for SME2 fcl...

david-arm via All-commits all-commits at lists.llvm.org
Wed Jan 25 01:27:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5e9d5776cc6f5b3e11953f55c0e0daa4013f77a
      https://github.com/llvm/llvm-project/commit/c5e9d5776cc6f5b3e11953f55c0e0daa4013f77a
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-sclamp.ll
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-uclamp.ll

  Log Message:
  -----------
  [AArch64][SME2] Add the IR intrinsics for SME2 fclamp, sclamp and uclamp instructions

Adds intrinsics for the following SME2 instructions:

* fclamp (2 and 4 vectors)
* sclamp (2 and 4 vectors)
* uclamp (2 and 4 vectors)

I've added these new instructions to the existing sve2p1-* tests
because although they are included as part of SME2 they are still
SVE-like, in that they only operate on SVE vectors.

NOTE: These intrinsics are still in development and are subject to future changes.

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




More information about the All-commits mailing list