1; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep mullw
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm
3
4<4 x int> %test_v4i32(<4 x int>* %X, <4 x int>* %Y) {
5        %tmp = load <4 x int>* %X
6        %tmp2 = load <4 x int>* %Y
7        %tmp3 = mul <4 x int> %tmp, %tmp2
8        ret <4 x int> %tmp3
9}
10
11<8 x short> %test_v8i16(<8 x short>* %X, <8 x short>* %Y) {
12        %tmp = load <8 x short>* %X
13        %tmp2 = load <8 x short>* %Y
14        %tmp3 = mul <8 x short> %tmp, %tmp2
15        ret <8 x short> %tmp3
16}
17
18<16 x sbyte> %test_v16i8(<16 x sbyte>* %X, <16 x sbyte>* %Y) {
19        %tmp = load <16 x sbyte>* %X
20        %tmp2 = load <16 x sbyte>* %Y
21        %tmp3 = mul <16 x sbyte> %tmp, %tmp2
22        ret <16 x sbyte> %tmp3
23}
24
25