Fix bug 14779 for passing anonymous aggregates [patch by Kai Nacke].
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 20 Feb 2013 17:31:41 +0000 (17:31 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 20 Feb 2013 17:31:41 +0000 (17:31 +0000)
commit49deebb5ebcde502fa7908362a5c000e7adbb359
tree579c65eab7d92f42dfac6abc8cd3e1266f6e9bdc
parentd6c98ae63824854ea2175b362a10985cac7cfb32
Fix bug 14779 for passing anonymous aggregates [patch by Kai Nacke].

The PPC backend doesn't handle these correctly.  This patch uses logic
similar to that in the X86 and ARM backends to track these arguments
properly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/anon_aggr.ll [new file with mode: 0644]