[all-commits] [llvm/llvm-project] cf72dd: [AArch64][SME] Add utility class for handling SME ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Sep 12 05:46:39 PDT 2022


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

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    A llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
    A llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
    M llvm/lib/Target/AArch64/Utils/CMakeLists.txt
    A llvm/test/Verifier/sme-attributes.ll
    M llvm/unittests/Target/AArch64/CMakeLists.txt
    A llvm/unittests/Target/AArch64/SMEAttributesTest.cpp

  Log Message:
  -----------
  [AArch64][SME] Add utility class for handling SME attributes.

This patch adds a utility class that will be used in subsequent patches
for parsing the function/callsite attributes and determining whether
changes to PSTATE.SM are needed, or whether a lazy-save mechanism is
required.

It also implements some of the restrictions on the SME attributes
in the IR Verifier pass.

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

Reviewed By: david-arm, aemerson

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




More information about the All-commits mailing list