Mill Computing, Inc. Forums The Mill Architecture alloca (dynamic stack allocation) on Mill Reply To: alloca (dynamic stack allocation) on Mill

Findecanor
Participant
Post count: 33

Are there still saveStack and restoreStack instructions as in the old Wiki, so that you could do
saveStack(); allocStack(…); … ; restoreStack() ?

Do they have the same semantics as LLVM’s alloca, llvm.stacksave() and llvm.stackrestore() ?

And will the memory be reused and reset to zero if I do a new allocStack() after a restoreStack()?

  • This reply was modified 10 months, 3 weeks ago by  Findecanor.