1 ; RUN: llvm-as < %s | llc -march=ppc32 &&
2 ; RUN: llvm-as < %s | llc -march=ppc32 | not grep addi
6 int *%test0(int *%X, int *%dest) {
7 %Y = getelementptr int* %X, int 4
9 store int %A, int* %dest
13 int *%test1(int *%X, int *%dest) {
14 %Y = getelementptr int* %X, int 4
16 store int %A, int* %dest
20 short *%test2(short *%X, int *%dest) {
21 %Y = getelementptr short* %X, int 4
23 %B = cast short %A to int
24 store int %B, int* %dest
28 ushort *%test3(ushort *%X, int *%dest) {
29 %Y = getelementptr ushort* %X, int 4
31 %B = cast ushort %A to int
32 store int %B, int* %dest
37 long *%test4(long *%X, long *%dest) {
38 %Y = getelementptr long* %X, int 4
40 store long %A, long* %dest