[LLVMdev] Bitcast to [0 x Type]*
Arushi Aggarwal
arushi987 at gmail.com
Thu Nov 11 13:16:36 PST 2010
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/attachment.html>
More information about the llvm-dev
mailing list