1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | \
2 ; RUN: grep {ldr.*\\\[.*\],} | wc -l | grep 1
4 int %test(int %a, int %b, int %c) {
6 %tmp2 = cast int %tmp1 to int*
7 %tmp3 = load int* %tmp2
8 %tmp4 = sub int %tmp1, %c
9 %tmp5 = mul int %tmp4, %tmp3