[all-commits] [llvm/llvm-project] 4fc2c9: [AArch64][SME] Document SME ABI implementation in ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Fri Sep 16 07:49:02 PDT 2022


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

  Changed paths:
    A llvm/docs/AArch64SME.rst
    M llvm/docs/UserGuides.rst

  Log Message:
  -----------
  [AArch64][SME] Document SME ABI implementation in LLVM

Adds a design document for implementing the SME ABI in LLVM. This document
can be used as a reference for follow-up patches that attempt to implement
the ABI.

Reviewed By: efriedma

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


  Commit: bd4935c175ad29f907a80cab6cfa6511db819c3d
      https://github.com/llvm/llvm-project/commit/bd4935c175ad29f907a80cab6cfa6511db819c3d
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    A llvm/test/CodeGen/AArch64/sme-streaming-compatible-interface.ll

  Log Message:
  -----------
  [AArch64][SME] Implement ABI for calls from streaming-compatible functions.

When a function is streaming-compatible and calls a function with a normal or streaming
interface, it may need to enable/disable stremaing mode before the call, and
needs to restore PSTATE.SM after the call.

This patch implements this with a Pseudo node that gets expanded to a
conditional branch and smstart/smstop node.

More details about the SME attributes and design can be found
in D131562.

Reviewed By: aemerson

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


Compare: https://github.com/llvm/llvm-project/compare/6174da2299f7...bd4935c175ad


More information about the All-commits mailing list