]> granicus.if.org Git - clang/commit
Reapply:
authorChris Lattner <sabre@nondot.org>
Wed, 30 Jun 2010 19:14:05 +0000 (19:14 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 30 Jun 2010 19:14:05 +0000 (19:14 +0000)
commitbcaedaed309ce453a992fdeef4a4c908cc7d9dfb
tree62dfcba7c7efee298a560c834ad72d290eff8500
parente81c5619f11e1ececf99ff30d15e5abfb6ea0c28
Reapply:
r107173, "fix PR7519: after thrashing around and remembering how all this stuff"
r107216, "fix PR7523, which was caused by the ABI code calling ConvertType instead"

This includes a fix to make ConvertTypeForMem handle the "recursive" case, and call
it as such when lowering function types which have an indirect result.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107310 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenTypes.cpp
lib/CodeGen/CodeGenTypes.h
lib/CodeGen/TargetInfo.cpp
test/CodeGen/decl.c
test/CodeGenCXX/x86_64-arguments.cpp