[PATCH] D125415: [ARM64EC 4/?] Add LLVM support for varargs calling convention.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 16:34:58 PDT 2022


efriedma updated this revision to Diff 433226.
efriedma added a comment.

Update to fix fixed arguments to varargs functions, and some more cases involving indirect arguments.

i128 specifically is tricky enough that I'm going to leave it for later.  (See https://github.com/llvm/llvm-project/blob/36c1183c787f360e09e9c14128efdd8d12759a4d/llvm/lib/Target/SystemZ/SystemZCallingConv.h#L92 etc.) It's not really relevant for clang, anyway; we explicitly pass arguments indirectly if they're too big to be passed directly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125415/new/

https://reviews.llvm.org/D125415

Files:
  llvm/lib/Target/AArch64/AArch64CallingConvention.h
  llvm/lib/Target/AArch64/AArch64CallingConvention.td
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
  llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
  llvm/test/CodeGen/AArch64/arm64ec-varargs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125415.433226.patch
Type: text/x-patch
Size: 21242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220531/c21cdc24/attachment.bin>


More information about the llvm-commits mailing list