[all-commits] [llvm/llvm-project] e717d0: AArch64: Use RuntimeLibcallsInfo in SMEAttributes

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Oct 24 05:23:05 PDT 2025


  Branch: refs/heads/users/arsenm/aarch64/use-runtime-libcalls-info-sme-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: e717d00936756f8b984c1297baabc2392348e150
      https://github.com/llvm/llvm-project/commit/e717d00936756f8b984c1297baabc2392348e150
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-10-24 (Fri, 24 Oct 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
    M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h

  Log Message:
  -----------
  AArch64: Use RuntimeLibcallsInfo in SMEAttributes

Eventually this should be program state, and not part of TargetLowering
so avoid direct references to the libcall functions in it.

The usage of RuntimeLibcallsInfo here is not good though, particularly
the use through TargetTransformInfo. It would be better if the IR attributes
were directly encoded in the libcall definition (or at least made consistent
elsewhere). The parsing of the attributes should not also be responsible for
doing the libcall recognition, which is the only part pulling in the
dependency.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list