Extend the (abi-irrelevant) return convention to be able to return more than two...
authorChris Lattner <sabre@nondot.org>
Wed, 30 May 2012 17:50:14 +0000 (17:50 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 30 May 2012 17:50:14 +0000 (17:50 +0000)
commit5aaabbfe62f9f92e1ad0c18b1a5b823230aa41ef
tree1461e409e949d0eafcf623e59bad698a25f3dfea
parentada759d5fa8a3ecc0e97d88761badfba9193587f
Extend the (abi-irrelevant) return convention to be able to return more than two values in
integer registers.  This is already supported by the fastcc convention, but it doesn't
hurt to support it in the standard conventions as well.

In cases where we can cheat at the calling convention, this allows us to avoid returning
things through memory in more cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157698 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86CallingConv.td
test/CodeGen/X86/pass-four.ll [new file with mode: 0644]