1; RUN: llc -march=bpfel -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
2
3; CHECK: if r2 s> r1 goto
4; CHECK: call 1
5; CHECK: exit
6; CHECK: call 2
7; CHECK: exit
8
9define void @foo(i32 %a) {
10%b = icmp sgt i32 %a, -1
11br i1 %b, label %x, label %y
12x:
13call void inttoptr (i64 1 to void ()*)()
14ret void
15y:
16call void inttoptr (i64 2 to void ()*)()
17ret void
18}
19