[LLVMdev] Question concerning alloca

Eli Friedman eli.friedman at gmail.com
Tue Oct 7 17:33:31 PDT 2008

On Tue, Oct 7, 2008 at 3:01 PM, Jonathan S. Shapiro <shap at eros-os.com> wrote:
> In alloca, is it required that NumElements be a literal integer, or can
> it be a computed result?

The LLVM alloca instruction works with non-constant integers.  It's
used for stuff like calls to the alloca function and VLAs in llvm-gcc.


More information about the llvm-dev mailing list