new testcase
[oota-llvm.git] / test / CodeGen / PowerPC / vec_mul.ll
1 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 &&
2 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep mullw
3 ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm
4
5 <4 x int> %test(<4 x int>* %X, <4 x int>* %Y) {
6         %tmp = load <4 x int>* %X
7         %tmp2 = load <4 x int>* %Y
8         %tmp3 = mul <4 x int> %tmp, %tmp2
9         ret <4 x int> %tmp3
10 }
11