[all-commits] [llvm/llvm-project] 7e815d: [AArch64][SME] Create new interface for isSVEAvail...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Fri Sep 1 05:01:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e815dd76daa2e986d89101df56e05c06d88eb44
      https://github.com/llvm/llvm-project/commit/7e815dd76daa2e986d89101df56e05c06d88eb44
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/CodeGen/AArch64/sve-fp-reduce-fadda.ll
    M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll

  Log Message:
  -----------
  [AArch64][SME] Create new interface for isSVEAvailable.

When a function is compiled to be in Streaming(-compatible) mode, the full
set of SVE instructions may not be available. This patch adds an interface
to query that and changes the codegen for FADDA (not legal in Streaming-SVE
mode) to instead be expanded for fixed-length vectors, or otherwise not to
code-generate for scalable vectors.

Reviewed By: david-arm

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




More information about the All-commits mailing list