[PATCH] D156109: [AArch64][SME] Create new interface for isFullSVEAvailable.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 05:12:02 PDT 2023


sdesmalen created this revision.
sdesmalen added reviewers: CarolineConcatto, david-arm, MattDevereau.
Herald added subscribers: ctetreau, hiraditya, kristof.beyls.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added subscribers: llvm-commits, alextsao1999.
Herald added a project: LLVM.

When a function is compiled to be in Streaming(-compatible) mode, full SVE
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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156109

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156109.543479.patch
Type: text/x-patch
Size: 14315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230724/9c0ce3df/attachment.bin>


More information about the llvm-commits mailing list