[llvm-dev] RFC: alloca -- specify address space for allocation
David Chisnall via llvm-dev
llvm-dev at lists.llvm.org
Fri Aug 28 01:55:04 PDT 2015
On 28 Aug 2015, at 01:42, Swaroop Sridhar <Swaroop.Sridhar at microsoft.com> wrote:
> David: As I replied to some other messages on this thread, the intention is not
> To garbage-collect stack locations, or the keep them alive beyond the stack's
> natural lifetime.
In that case, I think what you want to do can be represented by a stack allocation followed by an address space cast to AS 1 and pass that to the statepoint and then do an AS cast back after the statepoint.
More information about the llvm-dev