search for: addrspaceany

Displaying 2 results from an estimated 2 matches for "addrspaceany".

2015 Jan 18
4
[LLVMdev] Marking *some* pointers for gc
...and doesn't need to emit statepoint/relocate. Let's say I made the void * argument addrspace(0). Then, in callsites where I have an addrspace(1) to pass, I have to emit: addrspacecast 1 -> 0 call print addrspacecast 0 -> 1 Is the ideal workflow, or should we have some sort of addrspaceany?
2015 Jan 18
2
[LLVMdev] Marking *some* pointers for gc
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