[llvm-commits] [PATCH] Test NEON code generation and calling convention

Evan Cheng evan.cheng at apple.com
Wed May 19 09:05:18 PDT 2010


On May 17, 2010, at 8:50 AM, Edmund Grimley-Evans wrote:

> Could this file (vadd2.ll) be added in test/CodeGen/ARM/?

Sure, you can commit it. Do you have more of these unit tests? It would be nice if there is a complete set rather than just adding tests only when they break.

> 
> It broke in r103411 and was fixed again in r103854. It would be nice
> to keep it working.
> 
> I'm not sure what if any official rules govern how vector quantities
> should be passed as arguments and returned. It appears that vectors of
> less than 64 bits (such as the <2 x i8> in the first example in
> vadd2.ll) currently get passed in R0-R3 rather than Q0-Q3, which leads
> to some ugly code. Is this a bug or a feature?

I think that's due to the Darwin ABI?

Evan

> 
> -- 
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.
> <vadd2.ll>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list