1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -o %t.s -f &&
2 ; RUN: grep "mov r0, #0" %t.s | wc -l | grep 1 &&
3 ; RUN: grep "mov r0, #255" %t.s | wc -l | grep 1 &&
4 ; RUN: grep "mov r0, #256" %t.s | wc -l | grep 1 &&
5 ; RUN: grep ".word.*257" %t.s | wc -l | grep 1 &&
6 ; RUN: grep "mov r0, #-1073741761" %t.s | wc -l | grep 1 &&
7 ; RUN: grep "mov r0, #1008" %t.s | wc -l | grep 1 &&
8 ; RUN: grep "cmp r0, #65536" %t.s | wc -l | grep 1 &&
9 ; RUN: grep "\.comm.*a.s,4,4" %t.s | wc -l | grep 1
11 %a = internal global int 0
39 %b = setgt uint %a, 65536
40 br bool %b, label %r, label %r