[LLVMdev] Marking *some* pointers for gc
Ramkumar Ramachandra
artagnon at gmail.com
Sat Jan 17 16:12:01 PST 2015
Hi,
I just found out that it's not practical to mark only some pointers
for GC. Consider:
%a = i8 addrspace(1)* malloc(...)
%b = i8* alloca(...)
The issue then becomes that routine functions declared:
declare i1 foo(i8 addrspace(1)*)
have a choice of accepting either gc'able or non-gc'able pointers. Is
there no way to have a reasonable mix of both?
Ram
More information about the llvm-dev
mailing list