X86: use the correct alloca symbol for Windows Itanium
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 20 Nov 2014 18:01:26 +0000 (18:01 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 20 Nov 2014 18:01:26 +0000 (18:01 +0000)
commit2f3b3f31827f153a7ed1a3a647a3ea982591c9d7
tree9f2cebf6cfc17b3f9a051c7773db621a6ddc56a3
parentd26d85c1f5d4723c6914e26cf0be054e4acc8da0
X86: use the correct alloca symbol for Windows Itanium

Windows itanium targets the MSVCRT, and the stack probe symbol is provided by
MSVCRT.  This corrects the emission of stack probes on i686-windows-itanium.

llvm-svn: 222439
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86Subtarget.h
llvm/test/CodeGen/X86/windows-itanium-alloca.ll [new file with mode: 0644]