summaryrefslogtreecommitdiff
path: root/test/CodeGen/BPF/objdump_trivial.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/BPF/objdump_trivial.ll')
-rw-r--r--test/CodeGen/BPF/objdump_trivial.ll11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/CodeGen/BPF/objdump_trivial.ll b/test/CodeGen/BPF/objdump_trivial.ll
index 48fee21a2e4cf..6b5423854ee77 100644
--- a/test/CodeGen/BPF/objdump_trivial.ll
+++ b/test/CodeGen/BPF/objdump_trivial.ll
@@ -1,19 +1,18 @@
; RUN: llc -march=bpfel -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
; CHECK: if r2 s> r1 goto
-; CHECK: call
+; CHECK: call 1
+; CHECK: exit
+; CHECK: call 2
; CHECK: exit
-
-declare void @a()
-declare void @b()
define void @foo(i32 %a) {
%b = icmp sgt i32 %a, -1
br i1 %b, label %x, label %y
x:
-call void @a()
+call void inttoptr (i64 1 to void ()*)()
ret void
y:
-call void @b()
+call void inttoptr (i64 2 to void ()*)()
ret void
}