1 ; Our back-end is generating set-unsigned (setuw) for -2, when it
2 ; should be using setsw.
4 ; RUN: as %s -f -o Output/%s.bc
5 ; RUN: llc -f Output/%s.bc
6 ; RUN: /usr/ccs/bin/as Output/%s.s -xarch=v9
7 ; RUN: /opt/SUNWspro60/bin/cc -xarch=v9 Output/%s.o -o Output/%s.exe
12 declare void "abort"()
14 int "main"(int %argc, sbyte * * %argv)
16 %T1 = cast int 2 to uint
17 %tmp = add uint %T1, 4294967294 ; == -2
18 %cond = seteq uint %tmp, 0
19 br bool %cond, label %Ok, label %Fail