[all-commits] [llvm/llvm-project] 51e3d2: [AArch64][SME] Conditionally do smstart/smstop (#7...

Matthew Devereau via All-commits all-commits at lists.llvm.org
Thu Jan 18 01:17:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51e3d2f73d8f3f5c70f0c1b6b73f62ec9c680cb4
      https://github.com/llvm/llvm-project/commit/51e3d2f73d8f3f5c70f0c1b6b73f62ec9c680cb4
  Author: Matthew Devereau <matthew.devereau at arm.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
    A llvm/test/CodeGen/AArch64/sme-streaming-body-streaming-compatible-interface.ll

  Log Message:
  -----------
  [AArch64][SME] Conditionally do smstart/smstop (#77113)

This patch adds conditional enabling/disabling of streaming mode for
functions which have both the aarch64_pstate_sm_compatible and
aarch64_pstate_sm_body attributes.

This combination allows callees to determine if switching streaming mode
is required instead of relying on the caller.




More information about the All-commits mailing list