[all-commits] [llvm/llvm-project] 3637c5: [clang] [AArch64] Fix Windows va_arg handling for ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Apr 14 04:52:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3637c5c8ec3d4dc0b87eb4e3ee9c9ae8816cade2
      https://github.com/llvm/llvm-project/commit/3637c5c8ec3d4dc0b87eb4e3ee9c9ae8816cade2
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/test/CodeGen/ms_abi_aarch64.c

  Log Message:
  -----------
  [clang] [AArch64] Fix Windows va_arg handling for larger structs

Aggregate types over 16 bytes are passed by reference.

Contrary to the x86_64 ABI, smaller structs with an odd (non power
of two) are padded and passed in registers.

Differential Revision: https://reviews.llvm.org/D100374




More information about the All-commits mailing list