]> granicus.if.org Git - clang/commit
This patch fixes PR13624, which notes a 64-bit PowerPC ELF ABI
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 17 Dec 2012 04:20:17 +0000 (04:20 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 17 Dec 2012 04:20:17 +0000 (04:20 +0000)
commit9e6111ad10d29802d8eff99c941d262979e99084
tree733ef18bc652e03630cb5715e1d5a523950efc6f
parent355a1660d6a3c66546dfd2476b60fa7a19b70ee3
This patch fixes PR13624, which notes a 64-bit PowerPC ELF ABI
incompatibility with how complex values are returned.  It is sufficient
to flag all complex types as direct rather than indirect.

A new test case is provided that checks correct IR generation for the
various supported flavors of _Complex.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/ppc64-complex-return.c [new file with mode: 0644]