summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-10-12 19:26:17 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-10-12 19:26:17 +0000
commit84d3779819c3b7278d85d76c33f9ca8cf9a4facc (patch)
tree45c3bba5cb0a809923619784c8a0f937ceda982f /clang/lib/Sema/SemaExpr.cpp
parent3073c58cab08369d1d29698882eec12d59259592 (diff)
downloadbcm5719-llvm-84d3779819c3b7278d85d76c33f9ca8cf9a4facc.tar.gz
bcm5719-llvm-84d3779819c3b7278d85d76c33f9ca8cf9a4facc.zip
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. llvm-svn: 165816
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud