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

Tom Tan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 24 15:10:47 PDT 2019


TomTan added a comment.

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.


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

https://reviews.llvm.org/D60349





More information about the cfe-commits mailing list