The sense of this branch was backwards
[oota-llvm.git] / test / CodeGen / X86 / jump_sign.ll
1 ; RUN: llvm-as < %s | llc -march=x86 | grep jns
2 int %f(int %X) {
3 entry:
4         %tmp1 = add int %X, 1           ; <int> [#uses=1]
5         %tmp = setlt int %tmp1, 0               ; <bool> [#uses=1]
6         br bool %tmp, label %cond_true, label %cond_next
7
8 cond_true:              ; preds = %entry
9         %tmp2 = tail call int (...)* %bar( )            ; <int> [#uses=0]
10         br label %cond_next
11
12 cond_next:              ; preds = %entry, %cond_true
13         %tmp3 = tail call int (...)* %baz( )            ; <int> [#uses=0]
14         ret int undef
15 }
16
17 declare int %bar(...)
18
19 declare int %baz(...)
20