Properly emit __chkstk call instead of __alloca on non-mingw windows targets.
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 2 Sep 2010 23:03:46 +0000 (23:03 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 2 Sep 2010 23:03:46 +0000 (23:03 +0000)
commitace53f2fbc65f1e26c084c733ffbdbe3516580a6
tree1428a8f9b48d45a06365f5ad747d448b685a46c8
parent831c8ec016e70030752ddd68390ac8d3a5148892
Properly emit __chkstk call instead of __alloca on non-mingw windows targets.
Patch by Cameron Esfahani!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112902 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/win_chkstk.ll [new file with mode: 0644]