[llvm-dev] Passing arguments to var args function

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 8 06:21:36 PDT 2018


Hi Liad,

On Wed, 8 Aug 2018 at 13:28, Liad Mordekoviz via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Did anyone else come by such requirement? is there any other way anyone could recommend handling such requirement?

Apple's calling convention on iOS does this. We have two separate
CC_Whatever definitions and then AArch64ISelLowering.cpp chooses which
one to use based on whether the argument is fixed or not (see line
3446 onwards).

Cheers.

Tim.


More information about the llvm-dev mailing list