[PATCH] D134437: [AArch64][SME] Add codegen pass to handle ZA state in arm_new_za functions.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 22 06:40:28 PDT 2022


david-arm created this revision.
david-arm added reviewers: sdesmalen, aemerson, sagarkulkarni19, shruthiashwath, paulwalker-arm, kmclaughlin.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The new pass implements the following:

  Inserts code at the start of an arm_new_za function to commit a lazy-save when the lazy-save mechanism is active.
  Adds a smstart intrinsic at the start of the function.
  Adds a smstop intrinsic at the end of the function.

Patch co-authored by kmclaughlin.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134437

Files:
  llvm/docs/AArch64SME.rst
  llvm/lib/Target/AArch64/AArch64.h
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/CMakeLists.txt
  llvm/lib/Target/AArch64/SMEABIPass.cpp
  llvm/test/CodeGen/AArch64/O0-pipeline.ll
  llvm/test/CodeGen/AArch64/O3-pipeline.ll
  llvm/test/CodeGen/AArch64/sme-new-za-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134437.462166.patch
Type: text/x-patch
Size: 12777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220922/5c1fb8c5/attachment.bin>


More information about the llvm-commits mailing list