[LLVMdev] How to keep array type info in arguments
Yiping Fan
fanyp at cs.ucla.edu
Thu Dec 22 19:03:20 PST 2005
When I tried LLVM for a function with an array as an argument, the type
infomation of the array seems lost. For example, for this function,
void DCT(short data[64], char step, char offset),
its corresponding LLVM code will be
void %DCT8_int(short* %data, sbyte %step, sbyte %offset) ,
and every access of "data" will be a pointer access, instead of an array
access.
Is there any way to retrieve the array type infomation back in LLVM?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20051222/d333b19f/attachment.html>
More information about the llvm-dev
mailing list