1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldr r0" | wc -l | grep 3
6 %tmp = load int* %v ; <int> [#uses=1]
12 %tmp2 = getelementptr int* %v, int 1023 ; <int*> [#uses=1]
13 %tmp = load int* %tmp2 ; <int> [#uses=1]
19 %tmp2 = getelementptr int* %v, int 1024 ; <int*> [#uses=1]
20 %tmp = load int* %tmp2 ; <int> [#uses=1]