[LLVMdev] Code for late safepoint placement available

Philip Reames listmail at philipreames.com
Fri Jun 13 09:23:28 PDT 2014


On 06/10/2014 11:15 AM, Talin wrote:
>
>         We currently use address spaces on our architecture to
>         differentiate between traditional pointers and fat pointers
>         (both of which are supported on our system in hardware).  It
>         would be nice, rather than hard-coding an address space, to
>         have a property on DataLayout that would tell you if a
>         specific address space contained GC pointers.  We could then
>         designate an address space that was both GCable and contained
>         fat pointers, and another for non-GCable fat pointers.
>
>     Making this configurable is definitely desirable.  I like your
>     idea of including a list of address spaces in data layout which
>     contain GC pointers and making that query-able.  That sounds quite
>     reasonable.  Unless anyone makes another proposal, I'll run with this.
>
>
> Does it need to be a list, or could it be a range? It the set of GC 
> address spaces was contiguous over some range of integers, then you'd 
> only need to store a min / max value, which might make the 
> implementation simpler.
A range is also fine. David, does that meet your use case as well?

Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140613/134bafd0/attachment.html>


More information about the llvm-dev mailing list