[LLVMbugs] [Bug 331] NEW: [X86] Large allocas on windows needs incremental stack probing

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat May 1 05:46:05 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=331

           Summary: [X86] Large allocas on windows needs incremental stack
                    probing
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: X86 Backend
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


It looks like windows cannot grow the stack by more than 4K at a time, judging
by some code in the C front-end that LLVM doesn't use:
http://llvm.cs.uiuc.edu/cvsweb/cvsweb.cgi/llvm-gcc/gcc/config/i386/cygwin.asm?rev=1.1.1.1&content-type=text/x-cvsweb-markup

To fix this, we should either support an out-of-line alloca on windows like GCC
does, or inline the relevant code (which is probably a bad idea for something
this large).

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list