[all-commits] [llvm/llvm-project] f0f474: [AArch64][SME] Add codegen pass to handle ZA state...

david-arm via All-commits all-commits at lists.llvm.org
Wed Oct 5 02:44:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0f474dfd03b6131e04ce23a63b070c598a14473
      https://github.com/llvm/llvm-project/commit/f0f474dfd03b6131e04ce23a63b070c598a14473
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

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

  Log Message:
  -----------
  [AArch64][SME] Add codegen pass to handle ZA state in arm_new_za functions.

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.

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




More information about the All-commits mailing list