[LLVMdev] stack usage and scoping
Scott Shumaker
sshumaker at gmail.com
Fri Dec 11 17:47:15 PST 2009
Ahh, this states the problem precisely. Does anyone know if there is
active development in this direction? I'd love to be able to use
llvm.lifetime.start() / end().
Scott
On Fri, Dec 11, 2009 at 12:12 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> 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
>
--
---------------------
Scott Shumaker
CTO, magnifeast.com
Online ordering from hundreds of LA delivery and carryout restaurants
More information about the llvm-dev
mailing list