[PATCH] D49770: [ARM64] [Windows] Follow MS X86_64 C++ ABI when passing structs

Sanjin Sijaric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 16:57:13 PDT 2018


ssijaric updated this revision to Diff 157394.
ssijaric added a comment.

Updated to address Martin's observation.  Verified that small structs with default copy constructors and non-trivial destructors are passed in registers on ARM64 Windows.


Repository:
  rC Clang

https://reviews.llvm.org/D49770

Files:
  include/clang/Basic/TargetInfo.h
  lib/Basic/Targets/AArch64.cpp
  lib/Basic/Targets/AArch64.h
  lib/CodeGen/MicrosoftCXXABI.cpp
  lib/Sema/SemaDeclCXX.cpp
  test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49770.157394.patch
Type: text/x-patch
Size: 5018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180725/0b2b94bd/attachment.bin>


More information about the llvm-commits mailing list