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

Chris Lattner sabre at nondot.org
Fri Jan 4 09:55:34 PST 2008


On Thu, 3 Jan 2008, Danny wrote:
> Second, I was under the impression that vector types were fairly well,
> but I can't seem to get a simple function which takes in and returns
> vectors to work properly. And I don't understand the error. I made a
> simple function which was just supposed to multiply two 3 component
> float vectors and return the result:

Non-power-of-two vectors are a very new feature and are not fully 
supported.  You'll get best results if you stick with vectors of legal 
size for your hardware, e.g. 4 x float for sse or altivec.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list