[cfe-commits] [llvm-commits] [PATCH, PowerPC] Fix PR13948 (passing structs containing single floating-point fields)

David Blaikie dblaikie at gmail.com
Fri Oct 12 10:08:08 PDT 2012

Moving this to cfe-commits.

On Fri, Oct 12, 2012 at 10:00 AM, Bill Schmidt
<wschmidt at linux.vnet.ibm.com> wrote:
> This patch addresses PR13948.
> For 64-bit PowerPC SVR4, an aggregate containing only one
> floating-point field (float, double, or long double) must be passed in
> a register as though just that field were present.  This patch
> addresses the issue during Clang code generation by specifying in the
> ABIArgInfo for the argument that the underlying type is passed
> directly in a register.  The included test case verifies flat and
> nested structs for the three data types.
> Tested on powerpc64-unknown-linux-gnu with no new regressions.  Is
> this ok to commit?
> Thanks,
> Bill
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

More information about the cfe-commits mailing list