[LLVMdev] Extending GC infrastructure for roots in SSA values
ripzonetriton at gmail.com
Sat Dec 29 18:39:04 PST 2012
On Sun, Dec 30, 2012 at 1:54 AM, Talin <viridia at gmail.com> wrote:
> I completely agree with your point about wanting to be able to attach GC
> metadata to a type (rather than attaching it to a value, as is done now).
> In the past, there have been two objections to this approach: first, the
> overhead that would be added to the Pointer type - the vast majority of
> LLVM users don't want to have to pay an extra 4-8 bytes per Pointer type.
> And second, that all of the optimization passes would have to be updated so
> as to not do illegal transformations on a GC type.
I have extended LLVM locally to support metadata on types, though right now
it is only supported on struct types. It could be a good first step to
If someone is interested, the code is at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev