Changes in directory llvm/test/Regression/CodeGen/PowerPC:
vec_call.ll added (r1.1) --- Log message: test for support to pass/return vectors to calls. --- Diffs of the changes: (+11 -0) vec_call.ll | 11 +++++++++++ 1 files changed, 11 insertions(+) Index: llvm/test/Regression/CodeGen/PowerPC/vec_call.ll diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/vec_call.ll:1.1 *** /dev/null Tue May 16 19:18:33 2006 --- llvm/test/Regression/CodeGen/PowerPC/vec_call.ll Tue May 16 19:18:23 2006 *************** *** 0 **** --- 1,11 ---- + ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 + + <4 x int> %test_arg(<4 x int> %A, <4 x int> %B) { + %C = add <4 x int> %A, %B + ret <4 x int> %C + } + + <4 x int> %foo() { + %X = call <4 x int> %test_arg(<4 x int> zeroinitializer, <4 x int> zeroinitializer) + ret <4 x int> %X + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits