David Woodhouse
79dd505ce1
[x86] Disambiguate RET[QL] and fix aliases for 16-bit mode
...
I couldn't see how to do this sanely without splitting RETQ from RETL.
Eric says: "sad about the inability to roundtrip them now, but...".
I have no idea what that means, but perhaps it wants preserving in the
commit comment.
llvm-svn: 198756
2014-01-08 12:58:07 +00:00
Rafael Espindola
32cb5ac904
Switch to the new MingW ABI.
...
GCC 4.7 changed the MingW ABI. On the LLVM side it means that sret functions
don't pop the stack.
llvm-svn: 197163
2013-12-12 16:06:58 +00:00
Rafael Espindola
757ae64731
Add -mcpu=core2 to all llc invocations in this test.
...
Should fix the atom buildbot.
llvm-svn: 196340
2013-12-04 01:25:24 +00:00
Rafael Espindola
f4d34153f5
Use CHECK-LABEL to make this test more strict.
...
llvm-svn: 196321
2013-12-03 21:12:36 +00:00
Rafael Espindola
0a2baf8eaf
Fix mingw32 thiscall + sret.
...
Unlike msvc, when handling a thiscall + sret gcc will
* Put the sret in %ecx
* Put the this pointer is (%esp)
This fixes, for example, calling stringstream::str.
llvm-svn: 196312
2013-12-03 20:51:23 +00:00
Andrew Trick
e2431c64bc
Track IR ordering of SelectionDAG nodes 3/4.
...
Remove the old IR ordering mechanism and switch to new one. Fix unit
test failures.
llvm-svn: 182704
2013-05-25 03:08:10 +00:00
Timur Iskhodzhanov
dcf44ca4f8
Make the test/CodeGen/X86/win32_sret.ll reliable on any CPU by explicitly specifying the -mcpu
...
llvm-svn: 178885
2013-04-05 17:05:56 +00:00
Timur Iskhodzhanov
7205c72d84
Temporarily relax the WIN32 checks in the SRet test to fix the Atom D2700 bot
...
llvm-svn: 178635
2013-04-03 12:17:15 +00:00
Timur Iskhodzhanov
f4e0665e56
Fix SRet for thiscall in i686-pc-win32
...
llvm-svn: 178634
2013-04-03 11:27:54 +00:00
Timur Iskhodzhanov
a2fd5fdd7a
Make Win32 put the SRet address into EAX, fixes PR15556
...
llvm-svn: 178291
2013-03-28 21:30:04 +00:00
Eli Friedman
32c7c25dcb
Support MSVC x86-32 sret convention. PR11688. Patch by Joe Groff.
...
llvm-svn: 148513
2012-01-20 00:05:46 +00:00