1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm
2 ; RUN: llvm-upgrade < %s | llvm-as | \
3 ; RUN: llc -mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic | \
4 ; RUN: grep {L_G\$non_lazy_ptr} | wc -l | grep 2
5 ; RUN: llvm-upgrade < %s | llvm-as | \
6 ; RUN: llc -mtriple=arm-apple-darwin -relocation-model=pic | \
7 ; RUN: grep {ldr.*pc} | wc -l | grep 1
9 %G = external global int