[LLVMdev] Intrinsic prototype has incorrect number of arguments!

F van der Meeren llvm-dev at code2develop.com
Tue Sep 7 08:03:29 PDT 2010


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.

Filip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100907/1ff46e29/attachment.html>


More information about the llvm-dev mailing list