[llvm-commits] [Review Request] Target/X86: Tweak alloca and add a testcase for mingw64 and msvcrt on Win64. [PR8778]

NAKAMURA Takumi geek4civic at gmail.com
Mon Feb 28 05:11:13 PST 2011


Hello Anton,

On Mon, Feb 28, 2011 at 9:50 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> In msvcrt case the __chkstk invocation is just an ordinary function
> call. Or I'm missing something?

http://msdn.microsoft.com/en-us/library/tawsa7cb.aspx

Yeah, __chkstk does not manipulate stack pointer, though,
__chkstk is also expected not to modify argument registers (cx dx r8 r9 xmm...).
I have no idea to implement __chkstk with CALL64, for now.

Please see also win64_alloca_dynalloca.ll.

Thank you, ...Takumi



More information about the llvm-commits mailing list