[LLVMdev] Calling functions across modules. And those pesky vectors!

Nick Lewycky nicholas at mxc.ca
Fri Jan 4 21:52:26 PST 2008


Danny wrote:
I made a
> simple function which was just supposed to multiply two 3 component 
> float vectors and return the result:

"Vectors must have a power of two length (1, 2, 4, 8, 16 ...)."
  - http://llvm.org/docs/LangRef.html#t_vector

> //Snip on:
>     VectorType *vType = VectorType::get(Type::FloatTy, 3);

Nick



More information about the llvm-dev mailing list