Reid Kleckner 0d8dadf96e [X86] Always return the sret parameter in eax/rax, even on 32-bit
Summary:
This rule was always in the old SysV i386 ABI docs and the new ones that
H.J. Lu has put together, but we never noticed:

  EAX   scratch register; also used to return integer and pointer values
        from functions; also stores the address of a returned struct or union

Fixes PR23491.

Reviewers: majnemer

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9715

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237175 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-12 20:56:32 +00:00
..
2015-04-06 22:29:07 +00:00
2015-04-06 22:29:07 +00:00
2015-03-06 20:51:25 +00:00
2015-03-06 21:50:27 +00:00
2015-04-30 21:22:28 +00:00
2015-05-02 11:50:47 +00:00
2015-03-06 21:30:18 +00:00
2015-03-06 20:38:55 +00:00
2015-03-06 20:46:16 +00:00
2015-04-25 12:12:43 +00:00