[PATCH] D31042: Allow DataLayout to specify addrspace for allocas.

John McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 14:02:46 PDT 2017


rjmccall added a comment.

What else in LLVM actually hard-codes 0 as the assumed address space?  Intrinsic function declarations?  Optimizations that create new globals (if there are any?)  Wouldn't it be much less invasive to change those and leave the assumption that the stack is in addrspace 0?


https://reviews.llvm.org/D31042





More information about the llvm-commits mailing list