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.

llvm-svn: 107310
7 files changed
tree: 3e4543e92d993c0cb76eb889f31fe7a6a923ffe3
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/