blob: 47a01fd45a764128ff5ca69b4857d7d1ada46b45 [file] [log] [blame]
; RUN: llc -mtriple=bpfel -filetype=obj -o - %s | llvm-objdump --no-print-imm-hex -d - | FileCheck %s
; CHECK: if r2 s> r1 goto
; CHECK: call 1
; CHECK: exit
; CHECK: call 2
; CHECK: exit
define void @foo(i32 %a) {
%b = icmp sgt i32 %a, -1
br i1 %b, label %x, label %y
x:
call void inttoptr (i64 1 to ptr)()
ret void
y:
call void inttoptr (i64 2 to ptr)()
ret void
}