[all-commits] [llvm/llvm-project] de81b8: [AArch64] Allow variadic calls with SVE argument i...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Wed Apr 23 23:57:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de81b852fd8d2b654e1c7112f198026aa272c6b3
      https://github.com/llvm/llvm-project/commit/de81b852fd8d2b654e1c7112f198026aa272c6b3
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-varargs-caller-broken.ll
    M llvm/test/CodeGen/AArch64/sve-varargs.ll

  Log Message:
  -----------
  [AArch64] Allow variadic calls with SVE argument if it is named. (#136833)

The following case used to work:

  void foo(svint32_t a, ...);
  void bar(svint32_t a) { foo(a); }

but 6c9086d13fa7e1069e75ed2d139aae30ee3863c8 introduced a regression
that wasn't caught by the existing test `sve-varargs.ll` because the
call in the test wasn't a tail call and therefore skipped the code-path
with the `report_fatal_error`.



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