[all-commits] [llvm/llvm-project] 453c30: [Clang][AArch64] Add diagnostic for calls from non...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Aug 9 05:38:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 453c30e9e633f5b1e9bebed950592e3e51645a94
      https://github.com/llvm/llvm-project/commit/453c30e9e633f5b1e9bebed950592e3e51645a94
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
    M clang/test/Sema/aarch64-sme-func-attrs.c

  Log Message:
  -----------
  [Clang][AArch64] Add diagnostic for calls from non-ZA to shared-ZA functions.

The caller is required to have ZA state if it wants to share it with a callee.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list