Displaying 1 result from an estimated 1 matches for "cgen_test".
2004 Apr 14
1
[LLVMdev] Unknown LLVM intrinsic
...llvm.memcpy which I declare at the top of my file:
declare void %llvm.memcpy(sbyte*, sbyte*, uint, uint)
and then later use as such:
call void %llvm.memcpy(sbyte* %t12, sbyte* %t13, uint %t9, uint 0)
However when trying to compile the llvm program I get this:
cpp -I/home/class/cs326/mp/mp2/lib cgen_test.ll | sed -e"s/#.*//" >
cgen_test.bc.exp
llvm-as -f -o cgen_test.bc cgen_test.bc.exp
llvm-as: Function.cpp:232: unsigned int llvm::Function::getIntrinsicID()
const: Assertion `0 && "Unknown LLVM intrinsic function!"' failed.
make: *** [cgen_test.bc] Aborted (core...