[LLVMdev] Why function pointer is different from other data type?
hao.shen at imag.fr
Mon Apr 12 08:58:47 PDT 2010
I'm sorry that I should remove the comment.
In fact my question is about the "float (i32)* (float (i32)*)*", why
we use this kind of return type instead of just "float (i32)*".
Thanks a lot.
On Mon, Apr 12, 2010 at 5:42 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Hao Shen,
>> %4 = call float (i32)* (float (i32)*)* @get_ptr(float (i32)* @a1)
>> nounwind ;<float (i32)*> [#uses=1]
>> ~~~~~~~~~~~~~~~~~~~~ VERY STRANGE RETURN TYPE !!!
> this is a comment, and only exists to help the human reader. Comments
> start with a semi-colon (;). You can remove them if you like.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev