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

Daniel Paoliello via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 11:06:10 PDT 2022


dpaoliello added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/arm64ec-varargs.ll:53
+; CHECK-NEXT:    ret
+  call void (double, ...) @varargs_callee(double 1.0, i32 2, double 3.0, i32 4, double 5.0, <2 x double> <double 0.0, double 0.0>)
+  ret void
----------------
efriedma wrote:
> dpaoliello wrote:
> > Could you please add a test where args are being passed indirectly?
> `<2 x double>` is getting passed indirectly; the address is passed as an argument.  Computed in x8, then stored to the stack.
Ah, I missed that, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125415



More information about the llvm-commits mailing list