Displaying 1 result from an estimated 1 matches for "memcpy_i64".
Did you mean:
memcpy_64
2007 Apr 20
2
[LLVMdev] llvm-gcc Bug, Looking for Advice on Fix
...tPtr),
ConstantInt::get(Type::Int32Ty, Align)
};
new CallInst(Intrinsic::getDeclaration(TheModule,
(IntPtr == Type::Int32Ty) ?
Intrinsic::memcpy_i32 :
Intrinsic::memcpy_i64),
Ops, 4, "", CurBB);
}
The problem is that Intrinsic::getDeclaration takes four
parameters but is only passed two:
Function *Intrinsic::getDeclaration(Module *M, ID id, const Type **Tys,
unsigned numTys)
So it sees bogus data from Tys and n...