[LLVMdev] stack usage and scoping

Anton Korobeynikov anton at korobeynikov.info
Fri Dec 11 12:12:32 PST 2009

Hello, Scott

> I've just started using LLVM for a project I'm working on, and the
> docs seem to encourage the use of alloca, with the expectation that
> various optimization passes will optimize away unnecessary stack
> pressure.  However, I can't seem to figure out how LLVM can properly
> re-use stack space, since it doesn't know the extend of a stack
> variable.
This is http://llvm.org/bugs/show_bug.cgi?id=3361

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list