[llvm-commits] Patch to allow llvm.gcroot to work with non-pointer allocas.
Talin
viridia at gmail.com
Fri Sep 17 08:07:38 PDT 2010
Duncan Sands <baldrick at ...> writes:
> is this really needed? In this situation, can't you just declare two allocas:
> your struct alloca, and a pointer alloca that contains the address of the
struct
> alloca. You then pass the pointer alloca as the gc root.
Yes, that has been suggested before. It's clumsy and inefficient IMHO.
-- Talin
More information about the llvm-commits
mailing list