Change stack probing code for MingW.
authorKai Nacke <kai.nacke@redstar.de>
Fri, 13 Dec 2013 05:37:05 +0000 (05:37 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Fri, 13 Dec 2013 05:37:05 +0000 (05:37 +0000)
commitda44c36d644294924b715c8ced5440949ae9f6a5
tree5183e3887d3ed643534806b7572ee99239f749e6
parente93ec87db1d20e54e4f6924c38e80e4d33937d0c
Change stack probing code for MingW.

Since gcc 4.6 the compiler uses ___chkstk_ms which has the same semantics as the
MS CRT function __chkstk. This simplifies the prologue generation a bit.

Reviewed by Rafael EspĂ­ndola.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197205 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/win64_alloca_dynalloca.ll
test/CodeGen/X86/win_chkstk.ll