[PATCH] D60349: [COFF, ARM64] Fix ABI implementation of struct returns

Tom Tan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 15:20:19 PDT 2019


TomTan added a comment.

In D60349#1477770 <https://reviews.llvm.org/D60349#1477770>, @TomTan wrote:

> In D60349#1477183 <https://reviews.llvm.org/D60349#1477183>, @efriedma wrote:
>
> > > For NotPod, it is aggregate which is specific in the document
> >
> > Yes, it's an aggregate which is returned in registers... but it's returned in integer registers, unlike Pod which is returned in floating-point registers.
>
>
> `struct Pod` is HFA (Homogenous Floating-Point Aggregates) which is returned in floating-point register, `struct NotPod` is not HFA so still returned in integer registers. The ARM64 ABI document will be updated to reflect this, thanks.


@efriedma Return info for `HFA` and `HVA` is updated in https://github.com/MicrosoftDocs/cpp-docs/pull/970.


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

https://reviews.llvm.org/D60349





More information about the cfe-commits mailing list