Make Win32 put the SRet address into EAX, fixes PR15556
authorTimur Iskhodzhanov <timurrrr@google.com>
Thu, 28 Mar 2013 21:30:04 +0000 (21:30 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Thu, 28 Mar 2013 21:30:04 +0000 (21:30 +0000)
commita46f82dbf94e970f6e61b56a7da8bb19d217f31a
treeec27ca47fe48d7604cea705fe156221653a46707
parentaf0d148b2038e7f4ba1894f975353890faf0eeb5
Make Win32 put the SRet address into EAX, fixes PR15556

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178291 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/win32_sret.ll