1 ; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin | FileCheck %s
2 ; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin -relocation-model=pic | FileCheck %s
4 define void @bar(i32 %n.u) {
10 switch i32 %n.u, label %bb12 [i32 1, label %bb i32 2, label %bb6 i32 4, label %bb7 i32 5, label %bb8 i32 6, label %bb10 i32 7, label %bb1 i32 8, label %bb3 i32 9, label %bb4 i32 10, label %bb9 i32 11, label %bb2 i32 12, label %bb5 i32 13, label %bb11 ]
12 tail call void(...)* @foo1()
15 tail call void(...)* @foo2()
18 tail call void(...)* @foo6()
21 tail call void(...)* @foo3()
24 tail call void(...)* @foo4()
27 tail call void(...)* @foo5()
30 tail call void(...)* @foo1()
33 tail call void(...)* @foo2()
36 tail call void(...)* @foo6()
39 tail call void(...)* @foo3()
42 tail call void(...)* @foo4()
45 tail call void(...)* @foo5()
48 tail call void(...)* @foo6()
52 declare void @foo1(...)
53 declare void @foo2(...)
54 declare void @foo6(...)
55 declare void @foo3(...)
56 declare void @foo4(...)
57 declare void @foo5(...)