aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tailcall-largecode.ll
AgeCommit message (Collapse)Author
2011-01-03Use pushq / popq instead of subq $8, %rsp / addq $8, %rsp to adjust stack inEvan Cheng
prologue and epilogue if the adjustment is 8. Similarly, use pushl / popl if the adjustment is 4 in 32-bit mode. In the epilogue, takes care to pop to a caller-saved register that's not live at the exit (either return or tailcall instruction). rdar://8771137 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122783 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-14Do not force indirect tailcall through fixed registers: eax, r11. Add ↵Evan Cheng
support to allow loads to be folded to tail call instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98465 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-09Fix http://llvm.org/PR5729: x86-64 tail calls were putting their targets intoJeffrey Yasskin
R11, and then asserting that the target was in R9. Since R9 isn't reserved for the target anymore, and is used as an argument, this patch changes the assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93065 91177308-0d34-0410-b5e6-96231b3b80d8