[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.
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
More information about the llvm-dev