Revert "Calling _chkstk is required on ELF as well as COFF on Windows. Without _chkst...
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 23 Oct 2013 21:45:09 +0000 (21:45 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 23 Oct 2013 21:45:09 +0000 (21:45 +0000)
commit615f561407c83e29356f34c057279e87d903c9f1
tree7b58cefa8a99613920613a6c7e0cb674ac687026
parent3d0b7e1cc5856ae0c17687e1be3cddeb79704bca
Revert "Calling _chkstk is required on ELF as well as COFF on Windows. Without _chkstk functions requiring large stack crash in initialization code. Previous code tested for COFF format but not Mach-O and this patch modifies the code to test for Windows."

This reverts commit r193263.

It is causing CodeGen/X86/mingw-alloca.ll to fail.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193275 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Subtarget.h