diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-10-12 19:26:17 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-10-12 19:26:17 +0000 |
commit | b1f5fe017a596e0c7749dee10c9d3ff1c0f2788c (patch) | |
tree | 3b161601dfacadac22fcde63c540f5c8ba7b8698 /lib/Sema/SemaTemplate.cpp | |
parent | 44cbe67dc0e0a35c5369689710a25603ba67356f (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
0 files changed, 0 insertions, 0 deletions