[LLVMdev] Intrinsic prototype has incorrect number of arguments!
Bill Wendling
wendling at apple.com
Tue Sep 7 11:38:08 PDT 2010
On Sep 7, 2010, at 8:03 AM, F van der Meeren wrote:
> Hello,
>
> I have a question, what is wrong with the following code?
>
> declare void @llvm.memcpy.p0i64.p0i64.i8(i64*, i64*, i8, i32, i1) nounwind
>
> ...
>
> call void @llvm.memcpy.p0i64.p0i64.i8(i64* %19, i64* %21, i8 %17, i32 0, i1 false)
>
> ...
>
>
> According to the compiler this is the error, but I seem to miss where exactly my fault is.
>
> Intrinsic prototype has incorrect number of arguments!
> void (i64*, i64*, i8, i32, i1)* @llvm.memcpy.p0i64.p0i64.i8
>
> Any help would be appreciated.
>
The third parameter should be a pointer.
-bw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100907/561b7c7f/attachment.html>
More information about the llvm-dev
mailing list