[LLVMdev] Alloca Outside of Entry Block

Tanya M. Lattner tonic at nondot.org
Wed Aug 13 12:05:26 PDT 2008


Yes it is legal, but for performance reasons you want to avoid that.

-Tanya

On Wed, 13 Aug 2008, John Criswell wrote:

> Dear All,
>
> Is it legal to have an alloca in a basic block other than a function's
> entry block?
>
> -- John T.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list