Displaying 2 results from an estimated 2 matches for "link_array".
Did you mean:
line_array
2010 Nov 11
1
[LLVMdev] Bitcast to [0 x Type]*
Hi,
I see many statements like the one following, with casts to a 0-sized
array.
%10 = getelementptr inbounds [0 x %struct.Link]* bitcast ([497 x
%struct.Link]* @link_array to [0 x %struct.Link]*), i64 0, i64 %9 ;
<%struct.Link*> [#uses=1]
Why does this happen, and which transform causes this?
Arushi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101111/1ebd6541/attach...
2010 Nov 11
0
[LLVMdev] Bitcast to [0 x Type]
...s arrays in the
module. These arrays are probably defined elsewhere and linked together
later.
Santosh
> Hi,
>
> I see many statements like the one following, with casts to a 0-sized
> array.
> %10 = getelementptr inbounds [0 x %struct.Link]* bitcast ([497 x
> %struct.Link]* @link_array to [0 x %struct.Link]*), i64 0, i64 %9 ;
> <%struct.Link*> [#uses=1]
>
> Why does this happen, and which transform causes this?
>
> Arushi
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.cs.uiuc.edu/pipermail/llv...