1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | \
2 ; RUN: grep {str.*\\!} | wc -l | grep 2
4 void %test1(int *%X, int *%A, int **%dest) {
6 %Y = getelementptr int* %X, int 4
8 store int* %Y, int** %dest
12 short *%test2(short *%X, int *%A) {
14 %Y = getelementptr short* %X, int 4
15 %tmp = cast int %B to short
16 store short %tmp, short* %Y