Fix handling of anonymous aggregate parameters for powerpc*-apple-darwin8.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 8 May 2013 17:22:33 +0000 (17:22 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 8 May 2013 17:22:33 +0000 (17:22 +0000)
commita7f2ce85e5bd8d2826537f50ac510ef9fbe83792
tree5987eead950d1bca4724d36e14f62f2f1874f4aa
parent44b6b530e94d5b05e1b2ddbb174c477b0ce56638
Fix handling of anonymous aggregate parameters for powerpc*-apple-darwin8.

This fixes bug 15821 similarly to the powerpc64-linux fix for bug 14779.

Patch by David Fang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181449 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/anon_aggr.ll