[LLVMdev] Alloca Outside of Entry Block

Duncan Sands baldrick at free.fr
Wed Aug 13 11:16:04 PDT 2008


> Is it legal to have an alloca in a basic block other than a function's 
> entry block?

It is legal, but mem2reg will not promote as far as I know.

Ciao,

Duncan.



More information about the llvm-dev mailing list